Eliminated KRBoundingVolume, as it has been completely replaced by KRAABB
Added logic to eliminate redundant shader binding calls. --HG-- extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40157
This commit is contained in:
@@ -41,7 +41,7 @@ uniform lowp sampler2D videoFrame;
|
||||
uniform lowp sampler2D renderFrame;
|
||||
uniform lowp sampler2D depthFrame;
|
||||
|
||||
#if ENABLE_VOLUMETRIC_ENVIRONMENT == 1
|
||||
#if VOLUMETRIC_ENVIRONMENT_DOWNSAMPLED == 1
|
||||
uniform lowp sampler2D volumetricEnvironmentFrame;
|
||||
#endif
|
||||
|
||||
@@ -162,7 +162,7 @@ void main()
|
||||
|
||||
// ---- VIDEO_BG END ----
|
||||
|
||||
#if ENABLE_VOLUMETRIC_ENVIRONMENT == 1
|
||||
#if VOLUMETRIC_ENVIRONMENT_DOWNSAMPLED == 1
|
||||
pixelColor += texture2D(volumetricEnvironmentFrame, textureCoordinate);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user