14 lines
291 B
GLSL
14 lines
291 B
GLSL
#version 310 es
|
|
#extension GL_OES_sample_variables : require
|
|
precision mediump float;
|
|
precision highp int;
|
|
|
|
layout(location = 0) out vec2 FragColor;
|
|
|
|
void main()
|
|
{
|
|
FragColor = (gl_SamplePosition + vec2(float(gl_SampleMaskIn[0]))) + vec2(float(gl_SampleID));
|
|
gl_SampleMask[0] = 1;
|
|
}
|
|
|