Glossy Reflection and Refraction Shaders for 3Delight

Discussions about rendering in SOFTIMAGE©
Post Reply
User avatar
ShaderOp
Posts: 29
Joined: 11 Sep 2009, 20:15
Skype: shaderop
Contact:

Glossy Reflection and Refraction Shaders for 3Delight

Post by ShaderOp » 03 Mar 2011, 21:37

Hi everyone.

I was playing around with 3Delight, and I managed to make a few shaders that I thought might prove useful. One is glossy reflection and the other is glossy refraction. Here's an example scene showing the results:
Image

You can download them and watch the how-to video from this page:

http://shaderop.com/2011/03/glossy-refl ... softimage/

I've also included a utility node called "Bake_Pass_Switch," which allows an object to use one material for the baking pass and another for the normal rendering pass.

I hope someone will find a use for these :)

Zafar Iqbal
Moderator
Posts: 169
Joined: 26 Oct 2009, 10:04

Re: Glossy Reflection and Refraction Shaders for 3Delight

Post by Zafar Iqbal » 03 Mar 2011, 22:06

That's awesome. Thank you very much for sharing.
- Zafar Iqbal

User avatar
Mathaeus
Posts: 1778
Joined: 08 Jun 2009, 21:11
Location: Zagreb, Croatia
Contact:

Re: Glossy Reflection and Refraction Shaders for 3Delight

Post by Mathaeus » 04 Mar 2011, 00:00

Thanks for sharing this !

Btw, I assume it's still not that 'special command' that will be revealed in 3.04 ? Or you found it somehow...

Anyway, thanks again !

User avatar
ShaderOp
Posts: 29
Joined: 11 Sep 2009, 20:15
Skype: shaderop
Contact:

Re: Glossy Reflection and Refraction Shaders for 3Delight

Post by ShaderOp » 04 Mar 2011, 00:38

Mathaeus wrote:Thanks for sharing this !
You are most welcome :)
Mathaeus wrote:Btw, I assume it's still not that 'special command' that will be revealed in 3.04 ? Or you found it somehow...
No, I'm not using any special command, or at least I'm not using anything that can't be easily figured out by looking at the RSL files that 3Delight generates during rendering. In fact, I'll list the magic ingredients that I used right here:
  • option( "user:xsi_ao_maxsolidangle", maxsolidangle ) to get the Max Solid Angle setting.
  • option( "user:bake_file", bake_file ) to get the full path to the point cloud file, if any.
  • extern uniform float __is_bakepass to detect if this is a baking pass or a normal pass.
And that's it really. The rest was just plain vanilla RSL. And even that I copied almost verbatim from here.

User avatar
ShaderOp
Posts: 29
Joined: 11 Sep 2009, 20:15
Skype: shaderop
Contact:

Re: Glossy Reflection and Refraction Shaders for 3Delight

Post by ShaderOp » 06 Jul 2011, 15:30

I should mention that this plug-in needed an update to work with 3Delight 3.0.9. Grab it from here:

http://shaderop.com/2011/07/glossy-refl ... age-3-0-9/

Post Reply

Who is online

Users browsing this forum: No registered users and 62 guests