[Scummvm-git-logs] scummvm master -> 39721ea0e85d4c3093fedd7eb9067d0a3b2205c6
aquadran
noreply at scummvm.org
Tue Oct 22 17:59:36 UTC 2024
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
39721ea0e8 WINTERMUTE: Disable stencil shadows in shader renderer.
Commit: 39721ea0e85d4c3093fedd7eb9067d0a3b2205c6
https://github.com/scummvm/scummvm/commit/39721ea0e85d4c3093fedd7eb9067d0a3b2205c6
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2024-10-22T19:59:32+02:00
Commit Message:
WINTERMUTE: Disable stencil shadows in shader renderer.
It's broken for a long time. It's not allowed binding to
framebuffer. Code needs to be reworked in the future.
Changed paths:
engines/wintermute/base/gfx/opengl/base_render_opengl3d_shader.cpp
diff --git a/engines/wintermute/base/gfx/opengl/base_render_opengl3d_shader.cpp b/engines/wintermute/base/gfx/opengl/base_render_opengl3d_shader.cpp
index c11d64e23b9..3e26528fdcf 100644
--- a/engines/wintermute/base/gfx/opengl/base_render_opengl3d_shader.cpp
+++ b/engines/wintermute/base/gfx/opengl/base_render_opengl3d_shader.cpp
@@ -260,6 +260,7 @@ bool BaseRenderOpenGL3DShader::disableShadows() {
}
void BaseRenderOpenGL3DShader::displayShadow(BaseObject *object, const DXVector3 *lightPos, bool lightPosRelative) {
+ return; // shadows are broken for a while since it use not allowed binding to frame buffer
if (_flatShadowMaskShader) {
if (object->_shadowType <= SHADOW_SIMPLE) {
// TODO: Display simple shadow here
More information about the Scummvm-git-logs
mailing list