You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
surface.exposure *= m_StaticSunExposure; //single float value to indicate percentage of sunlight hitting the whole model equally (only suitable for small models or models with equal sunlight exposure accross the entire model
150
+
surface.exposure *= m_StaticSunIntensity; //single float value to indicate percentage of sunlight hitting the model (only suitable for small models or models with equal sunlight exposure accross the entire model
150
151
#endif
151
152
#ifdef USE_VERTEX_COLORS_AS_SUN_EXPOSURE
152
153
surface.exposure *= vertColors.r; // use red channel of vertexColors for non-uniform sunlighting accross a single model
0 commit comments