Colored smoke with KARMA XPU

   1542   4   0
User Avatar
Member
4 posts
Joined: 11月 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
59 posts
Joined: 4月 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: 11月 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 - 2023年11月14日 04:47:36

Attachments:
sample_count.png (1.2 MB)

User Avatar
Member
61 posts
Joined: 10月 2021
Offline
Benyee
For the shader, try to use the imported Cd field to control the scatter, and a constant color to control the absorption.


Greatly appreciated!
www.rehimi.de
User Avatar
Member
61 posts
Joined: 10月 2021
Offline
Actually this is much simpler now:

https://www.sidefx.com/forum/topic/89114/#post-430662 [www.sidefx.com]
www.rehimi.de
  • Quick Links