Binary that renders a triangle using Open GL, scans the resulting image to a PNG, and makes an occlusion query to determine the number of fragments shaded. To be used as reference when developing Turnip.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

occlusion.frag 178B

1234567891011
  1. #version 310 es
  2. precision mediump float;
  3. layout(location = 0) in vec3 fragColor;
  4. layout(location = 0) out vec4 outColor;
  5. void main() {
  6. outColor = vec4(fragColor, 1.0);
  7. }