w23 / xash3d-fwgs

Vulkan Ray Tracing fork of Xash3D FWGS engine. Intended to be merged into master at some point in the future.
161 stars 16 forks source link

Implement decals #107

Open w23 opened 2 years ago

w23 commented 2 years ago

A dumb idea: just have a list of decals for each surface (number + offset into decals buffer) and for each surface just loop over these and compute decals texuv based on surface texuv, etc etc should be ok

w23 commented 2 years ago

reference: ray tracing gems 2, chapter 27