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!

2 comments:

likitha said...

simply superb,mind blowing, i will share your blog to my friends also
Dot NET Online Training Hyderabad

Anonymous said...

Hi, I like your blog, is so cool. I was looking at a code you posted on using MatCap in Away3D, have you got these files?
http://www.videometry.net/away3d/matcap/MatCapNormalPass.as
http://www.videometry.net/away3d/matcap/matcap.zip
thanks in advance!,
my email is tatria@gmail.com

Post a Comment