bigger brain end fog fix

This commit is contained in:
Sasha 2023-06-29 05:13:34 +01:00
parent dab7d25472
commit dd24db5125

View File

@ -85,7 +85,7 @@ vec3 LightSourcePosition(vec3 WorldPos, vec3 CameraPos){
Origin = WorldPos - CameraPos ; Origin = WorldPos - CameraPos ;
#ifdef THE_ORB #ifdef THE_ORB
if(ManualLightPos.x == 0.0 && ManualLightPos.y == 0.0 && ManualLightPos.z == 0.0){ if(ManualLightPos == vec3(0.0)){
#endif #endif
float nosie = (densityAtPosFog(Origin / 30 + sin(frameTimeCounter/5)*100)-0.15) * 15 ; float nosie = (densityAtPosFog(Origin / 30 + sin(frameTimeCounter/5)*100)-0.15) * 15 ;