mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-06-26 18:22:33 +08:00
fix small oopsie doopsie of last commit
This commit is contained in:
@ -652,6 +652,8 @@ vec3 SubsurfaceScattering_sun(vec3 albedo, float Scattering, float Density, floa
|
|||||||
|
|
||||||
#if SSS_TYPE == 3
|
#if SSS_TYPE == 3
|
||||||
scatter *= pow(Density, LabSSS_Curve);
|
scatter *= pow(Density, LabSSS_Curve);
|
||||||
|
#else
|
||||||
|
if(Density < 0.01) scatter = vec3(0.0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
scatter *= 1.0 + CustomPhase(lightPos)*6.0; // ~10x brighter at the peak
|
scatter *= 1.0 + CustomPhase(lightPos)*6.0; // ~10x brighter at the peak
|
||||||
|
Reference in New Issue
Block a user