We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b44a21 commit f993b10Copy full SHA for f993b10
h3d/shader/pbr/Slides.hx
@@ -53,7 +53,7 @@ class Slides extends ScreenShader {
53
if ( x < 1 )
54
color = vec3(emissive, custom1, custom2);
55
else if ( x < 2 ) {
56
- var uv = vec2(x,y) - 3;
+ var uv = vec2(x-1,y-2);
57
if( shadowIsCube ) {
58
var phi = (1 - uv.x)*3.1415*2;
59
var theta = (-uv.y+0.5)*3.1415;
0 commit comments