From acfa606915416a85106817974e5ba2ec3518c203 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sat, 29 Oct 2016 22:11:05 -0300 Subject: resolved reflection cubemap blending --- drivers/gles3/rasterizer_storage_gles3.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'drivers/gles3/rasterizer_storage_gles3.cpp') 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() { -- cgit v1.2.3