You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Godot version:
Godot 3.2.4 rc1-4. Works correctly in Godot 3.2.3 stable.
OS/device including version:
Windows 10, GLES3. (GPU: Nvidia GTX1080)
Issue description:
When creating a VertexShader (with just VERTEX = VERTEX; in the vertex function), and rotating the CanvasItem (eg. a Sprite), the rotation direction is flipped. See screenshot. (The 'editing boundary' of the Sprite rotates correctly, graphical content not.)
Steps to reproduce:
Create a Sprite.
Create a ShaderMaterial for it.
Create a Shader script.
Write into the script:
shader_type canvas_item;
void vertex() {
VERTEX = VERTEX; // Uncommenting this, makes it work fine - as the shader is essentially bypassed.
}
The text was updated successfully, but these errors were encountered:
koodikulma-fi
changed the title
Vertex Shader rotates to the wrong direction (was ok in 3.2.3 stable).
Vertex Shader rotates to the wrong direction in Godot 3.2.4.
Mar 11, 2021
koodikulma-fi
changed the title
Vertex Shader rotates to the wrong direction in Godot 3.2.4.
Vertex Shader (for CanvasItems) rotates to the wrong direction in Godot 3.2.4.
Mar 11, 2021
I can reproduce this on 3.2.4rc3, both with the GLES3 and GLES2 renderers. However, this doesn't occur when batching is disabled in the Project Settings (both in GLES3 and GLES2).
Godot version:
Godot 3.2.4 rc1-4. Works correctly in Godot 3.2.3 stable.
OS/device including version:
Windows 10, GLES3. (GPU: Nvidia GTX1080)
Issue description:
When creating a
VertexShader
(with justVERTEX = VERTEX;
in the vertex function), and rotating theCanvasItem
(eg. aSprite
), the rotation direction is flipped. See screenshot. (The 'editing boundary' of the Sprite rotates correctly, graphical content not.)Steps to reproduce:
Sprite
.ShaderMaterial
for it.Shader
script.Minimal reproduction project:
VertexShaderProblem.zip
The text was updated successfully, but these errors were encountered: