cleaned things up a bit, looks good to start implementing the rpg mechs
This commit is contained in:
@ -45,7 +45,7 @@ void SimpleTexturedShader::getStages(
|
||||
"uniform sampler2D u_Texture;\n"
|
||||
"void main() {\n"
|
||||
"if(u_HasTexture) {\n"
|
||||
"o_Color = texture(u_Texture, o_TextCoord) * u_Color;\n"
|
||||
"o_Color = texture(u_Texture, o_TextCoord);\n"
|
||||
"} else {\n"
|
||||
"o_Color = u_Color;"
|
||||
"}\n"
|
||||
|
Reference in New Issue
Block a user