We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f360199 commit ce740a8Copy full SHA for ce740a8
examples/jsm/loaders/GLTFLoader.js
@@ -1990,6 +1990,7 @@ class GLTFMaterialsPointSpriteExtension {
1990
if (vIntensity <= 0.0) discard;
1991
gl_FragColor = vColor;
1992
vec2 rotateUv = rotateUV(gl_PointCoord, vRandom * vIntensity * PI * 0.6);
1993
+ rotateUv = clamp(rotateUv, 0.0, 1.0);
1994
gl_FragColor = gl_FragColor * texture2D( pointTexture, rotateUv );
1995
}
1996
`,
0 commit comments