Stencil.glsl 250 B

123456789101112131415
  1. #include "Uniforms.glsl"
  2. #include "Transform.glsl"
  3. void VS()
  4. {
  5. mat4 modelMatrix = iModelMatrix;
  6. vec3 worldPos = GetWorldPos(modelMatrix);
  7. gl_Position = GetClipPos(worldPos);
  8. }
  9. void PS()
  10. {
  11. gl_FragColor = vec4(1.0);
  12. }