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.
Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
123456789101112 |
- #version 300 es
- #extension GL_EXT_separate_shader_objects : enable
-
- precision mediump float;
-
- layout(location = 0) in vec3 fragColor;
-
- layout(location = 0) out vec4 outColor;
-
- void main() {
- outColor = vec4(fragColor, 1.0);
- }
|