So, I decided to implement shaders into my game engine, and it took away my textures! It just renders every shape in color with:
shader.fs
varying vec3 color;
void main() {
gl_FragColor = vec4(color, 1);
}
shader.vs
varying vec3 color;
void main() {
color = gl_Color.rgb;
gl_Position = ftransform();
}
Why are my textures gone!?
Sorry if this is nooby, but I literally just found out about shaders. I literally only know how to load and use them in java. None of the glsl stuffs.