Corrections fichiers pour avoir la version x86 fonctionnelle

This commit is contained in:
MarcEricMartel
2023-09-30 18:33:23 -04:00
parent 09dd3d332f
commit 8b3baa9063
694 changed files with 120490 additions and 5 deletions

View File

@@ -0,0 +1,9 @@
uniform sampler2D texture;
uniform float pixel_threshold;
void main()
{
float factor = 1.0 / (pixel_threshold + 0.001);
vec2 pos = floor(gl_TexCoord[0].xy * factor + 0.5) / factor;
gl_FragColor = texture2D(texture, pos) * gl_Color;
}