[DEV] add shader to support change of state for the palette
This commit is contained in:
parent
2f11ebe2c5
commit
b5722fe8e1
@ -8,10 +8,11 @@ precision mediump int;
|
||||
in vec2 io_textureCoords;
|
||||
|
||||
uniform sampler2D in_textureBase;
|
||||
uniform float in_offsetPalette;
|
||||
|
||||
// output:
|
||||
out vec4 out_Color;
|
||||
|
||||
void main(void) {
|
||||
out_Color = texture(in_textureBase, io_textureCoords);
|
||||
out_Color = texture(in_textureBase, io_textureCoords+vec2(0,in_offsetPalette));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user