|
@@ -935,10 +935,10 @@ void main(void) {
|
|
|
|
|
|
#ifdef REFLECTION
|
|
#ifdef REFLECTION
|
|
environmentIrradiance *= absorption;
|
|
environmentIrradiance *= absorption;
|
|
- #endif
|
|
|
|
|
|
|
|
- #ifdef SHEEN
|
|
|
|
- sheenEnvironmentReflectance *= absorption;
|
|
|
|
|
|
+ #ifdef SHEEN
|
|
|
|
+ sheenEnvironmentReflectance *= absorption;
|
|
|
|
+ #endif
|
|
#endif
|
|
#endif
|
|
|
|
|
|
specularEnvironmentReflectance *= absorption;
|
|
specularEnvironmentReflectance *= absorption;
|
|
@@ -952,10 +952,10 @@ void main(void) {
|
|
|
|
|
|
#ifdef REFLECTION
|
|
#ifdef REFLECTION
|
|
environmentIrradiance *= conservationFactor;
|
|
environmentIrradiance *= conservationFactor;
|
|
- #endif
|
|
|
|
|
|
|
|
- #ifdef SHEEN
|
|
|
|
- sheenEnvironmentReflectance *= conservationFactor;
|
|
|
|
|
|
+ #ifdef SHEEN
|
|
|
|
+ sheenEnvironmentReflectance *= conservationFactor;
|
|
|
|
+ #endif
|
|
#endif
|
|
#endif
|
|
|
|
|
|
specularEnvironmentReflectance *= conservationFactor;
|
|
specularEnvironmentReflectance *= conservationFactor;
|