NPCJerryClick
New member
- Joined
- Oct 30, 2022
- Messages
- 5
- Reaction score
- 2
C-like:
#version 150
uniform sampler2D DiffuseSampler;
uniform vec4 ColorModulate;
in vec2 texCoord;
out vec4 fragColor;
void main(){
vec4 color = texture(DiffuseSampler, texCoord) * ColorModulate;
fragColor = vec4(color.r/0, color.g/0, color.b/0, 1); // they said i couldnt divide by zero. i'll show them
}