Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/03/2003 at 12:43, xxxxxxxx wrote:
User Information: Cinema 4D Version: 8.012 Platform: Language(s) : C.O.F.F.E.E ;
--------- I need help with my shader. I want to make it support direct bump. So i've calculated new_normal = ! ( cd->n + delta_n ) I don't assume that it will give the desired result. But when i return "new_normal" in the Output function of my shader, it doesn't affect the bump mapping at all. The sphere i test it with has absolutely no bump.I guess i am doing something basically wrong here. Btw. If i return "new_normal" in the color channel i can see clearly the desired structure. Michael
On 02/03/2003 at 09:52, xxxxxxxx wrote:
Are you defining CHANNEL_DIRECTBUMP in the overloaded GetRenderInfo function of your shader data?
Then in output you have to set cd->vd->bumpn to your new_Normal.
That is all I do. The tricky part ( where I spent alot of time in SLA ) was contstructing the messaging system so that complete texture trees could be evaluated for the bump channel ). Now that was fun!
bt
On 02/03/2003 at 15:35, xxxxxxxx wrote:
Meanwhile i found this out myself. Thank you anyway. Michael