| 1 |
layout(std140, binding = 0) uniform qt3d_render_view_uniforms { |
| 2 |
mat4 viewMatrix; |
| 3 |
mat4 projectionMatrix; |
| 4 |
mat4 uncorrectedProjectionMatrix; |
| 5 |
mat4 clipCorrectionMatrix; |
| 6 |
mat4 viewProjectionMatrix; |
| 7 |
mat4 inverseViewMatrix; |
| 8 |
mat4 inverseProjectionMatrix; |
| 9 |
mat4 inverseViewProjectionMatrix; |
| 10 |
mat4 viewportMatrix; |
| 11 |
mat4 inverseViewportMatrix; |
| 12 |
vec4 textureTransformMatrix; |
| 13 |
vec3 eyePosition; |
| 14 |
float aspectRatio; |
| 15 |
float gamma; |
| 16 |
float exposure; |
| 17 |
float time; |
| 18 |
}; |
| 19 |
|
| 20 |
layout(std140, binding = 1) uniform qt3d_command_uniforms { |
| 21 |
mat4 modelMatrix; |
| 22 |
mat4 inverseModelMatrix; |
| 23 |
mat4 modelViewMatrix; |
| 24 |
mat3 modelNormalMatrix; |
| 25 |
mat4 inverseModelViewMatrix; |
| 26 |
mat4 mvp; |
| 27 |
mat4 inverseModelViewProjectionMatrix; |
| 28 |
}; |
| 29 |
|
| 30 |
layout(std140, binding = auto) uniform qt3d_extras_uniforms { |
| 31 |
float texCoordScale; |
| 32 |
}; |