Colored smoke with KARMA XPU

   792   2   0
User Avatar
Member
4 posts
Joined: Nov. 2021
Offline
Hello,

Can somebody help on setting the right shader for rendering smoke with Cd attribute ? I was trying on this shader but it gives error. Probably I am missing something. Would be great if someone can give a hint.

Thank you !

best regards

Image Not Found

Attachments:
karma_colored_smoke.zip (7.1 MB)

User Avatar
Member
56 posts
Joined: April 2008
Offline
For the shader, try to use the imported Cd field to control the scatter, and a constant color to control the absorption.

Attachments:
karma_colored_smoke_v2.hipnc (1.0 MB)

User Avatar
Member
4 posts
Joined: Nov. 2021
Offline
Thank you ! It works.
Do you know why the quality is not improving even I change the sample count? tks
Edited by rrrlaralasar - Nov. 14, 2023 04:47:36

Attachments:
sample_count.png (1.2 MB)

  • Quick Links