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

Override phase function for a volume shader

0 REPLIES 0
Reply
Message 1 of 1
timothee.chabatFS8S2
182 Views, 0 Replies

Override phase function for a volume shader

[Arnold 6.0.1.0 ; Maya 2019 ; MtoA 4.0.1.0]

I'm writing in C++ my own volume shader and since I have specifics needs I wanted to change the phase function, thus I can't call AiClosureVolumeHenyeyGreenstein.

As far as my understanding goes, I should precise the absorption, emission and the scattering at some point. AiClosureVolumeEmission and AiClosureVolumeAbsorption are indeed defined but I can't find the scattering closure, even though it is mentioned in "ai_closure.h" l.38 .

Also in the API ref here, they mention a scattering_coefficient but they do not precise where it is possible to set it. Any leads or workaround would be very usefull.

Tags (3)
Labels (3)
0 REPLIES 0

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

Post to forums  

Autodesk Design & Make Report