You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
precision highp float;
|
|
|
|
uniform sampler2D sampler;
|
|
|
|
void main()
|
|
{
|
|
vec4 color;
|
|
|
|
if (length(gl_PointCoord) < 0.3)
|
|
color = texture2D(sampler, gl_PointCoord);
|
|
else
|
|
color = vec4(0.0);
|
|
|
|
gl_FragColor = color;
|
|
}
|