RBURKE
January 30th, 2009, 08:35
Well i was able to easily recreate the fake radiosity shader as detailed in the tutorial and i was able to implement it flawlessly into my maya scene, with the position offset and all. But now i realized something when it came time to link up my lights.
The float 3 normalize node from what i can tell is basically giving me a generic direction from which the light would be coming from and then being used to create a super basic lighting model. well im using this lighting as sort of a ambient level that i can control and it seems to work well for that. but here is where i hit a snag. I want the light direction to be derived from a light position.
Now with normal lights and a lot of other nodes i can just use the connection editor to link the maya light attributes to the shader attributes. however i cant seem to find a way to link the lights location to the float 3 normalize node. so when i move my lights in the scene i end up with this basic lighting model remaining fixed. Is there a way i can link this nodes values to a light or a locator or something so when i move my light the float 3 normalize adjusts its variables accordingly.
or would i be better off replacing this basic lighting model with one of the more advanced illumination models and mixing it the radiosity the same way.
if it helps this entire network was being made into a phenomenon that i was then mixing into more advanced illuminations models.
if my question needs clarification just ask.
The float 3 normalize node from what i can tell is basically giving me a generic direction from which the light would be coming from and then being used to create a super basic lighting model. well im using this lighting as sort of a ambient level that i can control and it seems to work well for that. but here is where i hit a snag. I want the light direction to be derived from a light position.
Now with normal lights and a lot of other nodes i can just use the connection editor to link the maya light attributes to the shader attributes. however i cant seem to find a way to link the lights location to the float 3 normalize node. so when i move my lights in the scene i end up with this basic lighting model remaining fixed. Is there a way i can link this nodes values to a light or a locator or something so when i move my light the float 3 normalize adjusts its variables accordingly.
or would i be better off replacing this basic lighting model with one of the more advanced illumination models and mixing it the radiosity the same way.
if it helps this entire network was being made into a phenomenon that i was then mixing into more advanced illuminations models.
if my question needs clarification just ask.