Matrix Playground Shader


Finally decided to try shader matrices.. (because having issues with custom billboard shader)

Doing Translate, Scale, Rotations with matrix operations seems quite simple actually!

Would had been totally lost without these two links:

How to use the shader:
– Get the source below, copy to your project
– Create new material, assign this shader to that material
– Create default box 3D object, assign the material to that
– Try adjusting the shader values on that material

Current shader source: *Annoying how github gist breaks the formatting.. click the filename below the source to view in github


3 Comments + Add Comment

Leave a comment


Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.