Leadwerks Game Engine

Leadwerks Game Engine

Creek Shader
1 Comments
syleox 25 Nov, 2021 @ 5:42pm 
in shader editor
replace line 84 by this one
compiler expect a float numer instead of a int

if (ndotv < clamp(smoothstep(-100.0,0.0,fresnel_intensity),0.0,1.0))