You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix front face definition
This commit is contained in:
@@ -2140,7 +2140,6 @@ void RasterizerSceneGLES3::_render_list(RenderList::Element **p_elements, int p_
|
|||||||
first = false;
|
first = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
glFrontFace(GL_CW);
|
|
||||||
glBindVertexArray(0);
|
glBindVertexArray(0);
|
||||||
|
|
||||||
state.scene_shader.set_conditional(SceneShaderGLES3::USE_INSTANCING, false);
|
state.scene_shader.set_conditional(SceneShaderGLES3::USE_INSTANCING, false);
|
||||||
@@ -5024,6 +5023,8 @@ void RasterizerSceneGLES3::initialize() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
state.debug_draw = VS::VIEWPORT_DEBUG_DRAW_DISABLED;
|
state.debug_draw = VS::VIEWPORT_DEBUG_DRAW_DISABLED;
|
||||||
|
|
||||||
|
glFrontFace(GL_CW);
|
||||||
}
|
}
|
||||||
|
|
||||||
void RasterizerSceneGLES3::iteration() {
|
void RasterizerSceneGLES3::iteration() {
|
||||||
|
|||||||
Reference in New Issue
Block a user