PDA

View Full Version : car shader reflection pass HELP!


BAM!
05-24-2006, 06:45 AM
ok... i am using this very nice car shader (it's this one http://www.xsibase.com/tools/shaders.php?detail=1067) on a car i modeled and it looks very nice when rendered out in beauty pass. i've tweaked the shader settings to fit my exact taste. the problem is... i am trying to render out separate passes for this car. i need a reflection pass and ambient pass. ambient is not an issue, as i can just turn off secondary rays of other objects in the world, or alternatively , uncheck the reflection option inside the reflection node.

the problem is, when i try to render out JUST the reflection pass, it comes out to be the same as the beauty pass. i've tried creating two simple objects to see if i am doing it right, and i am... i choose the object i want for reflection pass and go to pass/edit/new pass/reflection and it'll render out the reflection for that sphere. but it's not doing it for the car, i a assuming it's because the way this car paint shader was setup, it doesn't use the conventional process like you would find in most cases such as: material >> phone>>image (or whatever you have after that). the way this car shader was written gives the following nodes in FX tree: car shader >> Mix_2color >> color >> color2Scalar >> candy_noise... and on
>> reflection >> reflection intensity

as you see fro the above tree..... this car shader doesn't use the conventional material reflection, it uses its own. i am not an expert in texturing so this really frustrates me.

as i understand the way XSI passes is setup... the XSI reflection pass basically sets up overides on everything else in the scene leaving reflectivity on. but in this case, i guess it's having trouble doing that because the car's shader skin doesn't use a conventional material reflectivity.




can someone help?..... is there anyway to render out just the reflection of this car shader and just the ambient of it?..

here's a screen shot of my render tree for the car shader.

http://www.digitalinvent.com/files/render_tree.jpg

thanks

EternalArt
05-24-2006, 08:41 AM
Go to the >> render >> Render option >> Output
And turn on Reflection .

BAM!
05-26-2006, 06:42 AM
thanks for the response, i didn't know XSI 5 was that easy to do separate passes.


however, i am not exactly sure it worked entirely the way i wanted. i did exactly like you said.. turn on the reflection render under render option. and it rendered out a reflection pass image that has a different look, i tried to composit that with an ambient no reflected pass and it still looks weird.. doesn't look the same as what the original look like.

let me post some pics


original:
http://www.digitalinvent.com/files/Region_preview.jpg
reflection render based on your suggestion:
http://www.digitalinvent.com/files/reflection_pass.jpg
the reflection render composit on top of an none reflective pass:(and that's after i toned down the opacity of the reflective pass over the ambient)
http://www.digitalinvent.com/files/composit.jpg

CGTalk Moderation
05-26-2006, 06:42 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.