Skip to content

Updated Shaders

Latest
Compare
Choose a tag to compare
@mattparks mattparks released this 30 Jun 14:21
· 435 commits to master since this release

This update changes how shaders work, you used to have a class that extends the ShaderProgram and then creating each shader object. But now you can just create a ShaderProgram in the implementation of an IRenderer just giving a vertex and fragent path and now to access a uniform you would just do shaderName.getUniform("someUniform").loadFloat(float). Shaders can also have real booleans.