Urho3D/bin/CoreData/Shaders/GLSL/Stencil.glsl
2015-01-18 21:31:13 +08:00

16 lines
250 B
GLSL

#include "Uniforms.glsl"
#include "Transform.glsl"
void VS()
{
mat4 modelMatrix = iModelMatrix;
vec3 worldPos = GetWorldPos(modelMatrix);
gl_Position = GetClipPos(worldPos);
}
void PS()
{
gl_FragColor = vec4(1.0);
}