mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-10 04:52:13 +12:00
Fix signedness mess-ups in shaders
This commit is contained in:
parent
e36b6c77a7
commit
90abf8a376
2 changed files with 4 additions and 4 deletions
|
@ -161,7 +161,7 @@ bool error_unimpl = false;
|
|||
vec4 unimpl_color = vec4(1.0, 0.0, 1.0, 1.0);
|
||||
|
||||
float lutLookup(uint lut, int index) {
|
||||
return texelFetch(u_tex_lighting_lut, ivec2(index, lut), 0).r;
|
||||
return texelFetch(u_tex_lighting_lut, ivec2(index, int(lut)), 0).r;
|
||||
}
|
||||
|
||||
vec3 regToColor(uint reg) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue