Hi there,
Anybody knows how to use diffuse and specular cubemaps? :?:
Hi there,
Anybody knows how to use diffuse and specular cubemaps? :?:
Or at least how to write reflection cubemap shader in CG?
No one? ![]()
There are some Reflective shaders in built-in shaders. They do reflection with cubemaps in Cg. If you want to do diffuse part with cubemaps, just use normal instead of reflection vector. I also talked about diffuse cubemap lighting in my Unite 2007 presentation (the sample project has some cubemap lighting shaders).
Thank you Aras.