fix hardcoded ambient light skylight direction being used when rtao/ssgi are enabled. remove skylight direction as lightmap falls off for all AO effects.. bring back lightning flash effect on the world

This commit is contained in:
Xonk
2023-10-26 18:02:14 -04:00
parent 2a5de55319
commit 6fdc95dff4
3 changed files with 12 additions and 14 deletions

View File

@ -261,13 +261,6 @@ vec4 renderClouds(
#ifdef Cumulus
// float shadowStepSize[3] = float[](
// 0.05,
// 0.25 + Dither.y*0.1,
// 0.50 + Dither.y*0.1
// );
for(int i=0;i<maxIT_clouds;i++) {
// IntersecTerrain = length(progress_view - cameraPosition) > lViewPosM;