Skip to content

Commit e389eb7

Browse files
committed
Small fix for pixel positioning.
1 parent 46c131e commit e389eb7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/LumaDriver/Shaders/LumaDriver_ALActive.shader

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
uniform sampler2D _AudioTexture;
2727

2828
float4 frag(v2f_customrendertexture IN) : COLOR {
29-
if (IN.localTexcoord.x <= 0.03125 && IN.localTexcoord.y < 0.03125) {
29+
if (IN.localTexcoord.x <= 0.03125 && IN.localTexcoord.y <= 0.03125) {
3030
fixed isOn = 0;
3131
[unroll] for (int i = 4; i < 6; i++) {
3232
[unroll] for (int j = 0; j < 128; j++) {

src/LumaDriver/Shaders/LumaDriver_Driver.shader

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@
312312
else {
313313
return 0;
314314
}
315+
return 0;
315316
}
316317

317318
fixed3 getALStop(fixed3 rgb, float ccStop) {

0 commit comments

Comments
 (0)