Community
Arnold General Rendering Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

broken henyey greenstein mixing in OSL

0 REPLIES 0
Reply
Message 1 of 1
jpparker
260 Views, 0 Replies

broken henyey greenstein mixing in OSL

The following shader doesn't work as expected in Arnold 5. There should be both a strong forward and strong backscatter effect, but only the last shader's phase value (g) is used:

volume sample_volume_shader ( output closure color result = 0 )

{

closure color a = volume_henyey_greenstein(0, 1, 0, -0.8);

closure color a = volume_henyey_greenstein(0, 1, 0, 0.8);

result = a + b;

}

Labels (3)
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums