fix: shader auf #version 300 es korrigiert (hyprshade-Standard)
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
precision mediump float;
|
||||
varying vec2 v_texcoord;
|
||||
#version 300 es
|
||||
precision highp float;
|
||||
|
||||
in vec2 v_texcoord;
|
||||
uniform sampler2D tex;
|
||||
out vec4 fragColor;
|
||||
|
||||
// Wärmefilter ~3500K: weniger Blau, leicht mehr Rot
|
||||
void main() {
|
||||
vec4 c = texture2D(tex, v_texcoord);
|
||||
vec4 c = texture(tex, v_texcoord);
|
||||
c.r = min(c.r * 1.06, 1.0);
|
||||
c.g = c.g * 0.96;
|
||||
c.b = c.b * 0.72;
|
||||
gl_FragColor = c;
|
||||
fragColor = c;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user