summaryrefslogtreecommitdiff
path: root/drivers/gles3/rasterizer_storage_gles3.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-10-29 22:11:05 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-10-29 22:11:05 -0300
commitacfa606915416a85106817974e5ba2ec3518c203 (patch)
treed94ed2e26676e1cab318e6569932b7377580fc90 /drivers/gles3/rasterizer_storage_gles3.cpp
parentd6567010bf1c65abcbe09b959cde63664778d923 (diff)
resolved reflection cubemap blending
Diffstat (limited to 'drivers/gles3/rasterizer_storage_gles3.cpp')
-rw-r--r--drivers/gles3/rasterizer_storage_gles3.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gles3/rasterizer_storage_gles3.cpp b/drivers/gles3/rasterizer_storage_gles3.cpp
index a678c460f5..4b2c607297 100644
--- a/drivers/gles3/rasterizer_storage_gles3.cpp
+++ b/drivers/gles3/rasterizer_storage_gles3.cpp
@@ -57,7 +57,7 @@
#define _EXT_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE
-
+#define _EXT_TEXTURE_CUBE_MAP_SEAMLESS 0x884F
#define _GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
#define _GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
@@ -3946,6 +3946,8 @@ void RasterizerStorageGLES3::initialize() {
}
shaders.cubemap_filter.init();
+
+ glEnable(_EXT_TEXTURE_CUBE_MAP_SEAMLESS);
}
void RasterizerStorageGLES3::finalize() {