Variable TRAP::Embed::FallbackGraphicsShader#
Variable Documentation#
- constexpr std::string_view TRAP::Embed::FallbackGraphicsShader {R"(#shader vertexlayout(location = 0) in vec3 Position;//layout(std140, UpdateFreqPerFrame, binding = 0) uniform Matrices//{//uniform mat4 sys_ProjectionMatrix;//uniform mat4 sys_ViewMatrix;//uniform mat4 sys_ModelMatrix;//};void main(){//gl_Position = sys_ProjectionMatrix * sys_ViewMatrix * sys_ModelMatrix * vec4(Position, 1.0f);gl_Position = vec4(Position, 1.0f);}#shader fragmentlayout(location = 0) out vec4 FragColor;void main(){FragColor = vec4(1.0f);})"}
Fallback Graphics shader.