water caustics fix with one line (UPDATED READ DESCRIPTION NO LONGER NEEDING CODE MOD)

Опубликовано: 01 Март 2026
на канале: lego man shorts
357
4

WATER FIX UPDATED

i was wrong about where the white box came from. please revert and try this new method.

just modify color to .333 or lower the white box appears due to extra brightness from merging 3 full white channels. this is so dispersion can sample 3 separate colors but they never accounted for layering 3 so the math ends up bright box. use something lower than .333 for more contrast. with .333 color on all 3 channels in post process settings i get normal scene lighting and then the caustics come in with a nice lighting effect instead of overpowering box. mesh caustics fix is good as is. water caustics is unable to sample anything but world normal and this does not work. i have reverted shadow fix back to 1.0f vanilla file. this fix i had before came at a huge quality loss. new method is the proper way allows full rotation of object too without weird bright box accumulations.

if you need to revert changes:

C:\UnrealEngine-NvRTX_Caustics-5.2\Engine\Shaders\Private\RayTracing\RayTracingWaterCaustics.usf
// shadow ray
float IntensityScaleInShadow = 1.0f;