Thursday, 6 March 2014

MatCap with NormalMapping



What do you get if you cross this:

With this...


No? Well a glass like complex material that doesn't require any lighting!


Continuing on from the previous post, I've now implemented normal maps into the MatCap material.
Took a lot of head scratching, and it could almost certainly make more use of the Away3D framework, but I ended making the MatcapPass a multitexture shader, and implemented my own normal map routine.

source files including demo usage.

The shader code

Enjoy!

No comments:

Post a Comment