⚠️ Issues not using this template will be systematically closed.
Describe the bug
I need to set gl_Position in the vertex shader. A workaround is to set the material.clipSpaceTransform matrix in the device domain. However, this matrix cannot affect the z component of the vertex; it can only transform x and y.
To Reproduce
Steps to reproduce the behavior:
set material use device domain
set the material.clipSpaceTransform matirx,but the matrix cannot affact the z component of the vertex
Expected behavior
The material.clipSpaceTransform matirx can affect the z component of the vertex
Screenshots
Logs
Desktop (please complete the following information):
OS: [windows 11]
GPU: [ ]
Backend: [OpenGL]
Smartphone (please complete the following information):
⚠️ Issues not using this template will be systematically closed.
Describe the bug I need to set gl_Position in the vertex shader. A workaround is to set the material.clipSpaceTransform matrix in the device domain. However, this matrix cannot affect the z component of the vertex; it can only transform x and y.
To Reproduce Steps to reproduce the behavior:
Expected behavior The material.clipSpaceTransform matirx can affect the z component of the vertex
Screenshots
Logs
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context