Right now I’m creating a new shader of a certain type for my sprites, but can I reuse a shader from the GLProgramCache and have unique values for the uniforms somehow?
Right now I’m creating a new shader of a certain type for my sprites, but can I reuse a shader from the GLProgramCache and have unique values for the uniforms somehow?
check out this sample code for use your shader and uniforms
@nite this is pretty cool