branch | v_0 |
changeset 18 | c4384f43c739 |
parent 17 | f53a040bdc89 |
child 21 | bcc53967ab3c |
--- a/shaders/scanlines-basic.frag Sun Dec 03 19:22:25 2023 +0100 +++ b/shaders/scanlines-basic.frag Sun Dec 03 19:22:42 2023 +0100 @@ -4,9 +4,9 @@ in vec2 vTextureXY; out vec4 fColor; -void main(){ +void main() { fColor = texture(uTexture, vTextureXY).rgba; - float lineCount = 260.; + float lineCount = 200.; fColor.xyz *= abs(sin(radians(vTextureXY.y * 180. * lineCount))); }