Renderer/OpenGL: Enable GL_TEXTURE_CUBE_MAP_SEAMLESS
This commit is contained in:
parent
9f74b71bd6
commit
52f80a68cb
|
|
@ -92,6 +92,7 @@ Nazara Engine:
|
||||||
- ⚠️ Translucent2D pipeline no longer has depth sorting
|
- ⚠️ Translucent2D pipeline no longer has depth sorting
|
||||||
- Fixed SimpleTextDrawer line bounds
|
- Fixed SimpleTextDrawer line bounds
|
||||||
- ⚠️ Stream::ReadLine will now returns empty lines if present in the file
|
- ⚠️ Stream::ReadLine will now returns empty lines if present in the file
|
||||||
|
- Fixed cubemaps seams with OpenGL
|
||||||
|
|
||||||
Nazara Development Kit:
|
Nazara Development Kit:
|
||||||
- Added ImageWidget (#139)
|
- Added ImageWidget (#139)
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@ namespace Nz
|
||||||
OpenGLExtension_FP64,
|
OpenGLExtension_FP64,
|
||||||
OpenGLExtension_GetProgramBinary,
|
OpenGLExtension_GetProgramBinary,
|
||||||
OpenGLExtension_SeparateShaderObjects,
|
OpenGLExtension_SeparateShaderObjects,
|
||||||
|
OpenGLExtension_SeamlessCubeMap,
|
||||||
OpenGLExtension_Shader_ImageLoadStore,
|
OpenGLExtension_Shader_ImageLoadStore,
|
||||||
OpenGLExtension_TextureCompression_s3tc,
|
OpenGLExtension_TextureCompression_s3tc,
|
||||||
OpenGLExtension_TextureStorage,
|
OpenGLExtension_TextureStorage,
|
||||||
|
|
|
||||||
|
|
@ -163,6 +163,9 @@ namespace Nz
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (OpenGL::IsSupported(OpenGLExtension_SeamlessCubeMap))
|
||||||
|
glEnable(GL_TEXTURE_CUBE_MAP_SEAMLESS);
|
||||||
|
|
||||||
if (m_parameters.antialiasingLevel > 0)
|
if (m_parameters.antialiasingLevel > 0)
|
||||||
glEnable(GL_MULTISAMPLE);
|
glEnable(GL_MULTISAMPLE);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1174,6 +1174,9 @@ namespace Nz
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Seamless Cubemap Filtering
|
||||||
|
s_openGLextensions[OpenGLExtension_SeamlessCubeMap] = (s_openglVersion >= 320 || IsSupported("GL_ARB_seamless_cube_map"));
|
||||||
|
|
||||||
// Shader_ImageLoadStore
|
// Shader_ImageLoadStore
|
||||||
s_openGLextensions[OpenGLExtension_Shader_ImageLoadStore] = (s_openglVersion >= 420 || IsSupported("GL_ARB_shader_image_load_store"));
|
s_openGLextensions[OpenGLExtension_Shader_ImageLoadStore] = (s_openglVersion >= 420 || IsSupported("GL_ARB_shader_image_load_store"));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue