Karma (CPU, XPU): volumes not affected by emissive material?

   1296   6   0
User Avatar
Member
249 posts
Joined: May 2017
Offline
As the title suggests - is this a bug or a feature? Emissive material illuminates geometry, but refuses to work on volume.
For comparison, how it should look, using a sphere light on the second screenshot.
hipfile attached
Edited by osong - March 15, 2023 04:42:25

Attachments:
emissive01.jpg (357.5 KB)
emissive02.jpg (365.1 KB)
potato_renders.hiplc (1.1 MB)

https://twitter.com/oossoonngg [twitter.com]
User Avatar
Member
249 posts
Joined: May 2017
Offline
staggering response

bump for visibility
https://twitter.com/oossoonngg [twitter.com]
User Avatar
Member
861 posts
Joined: Oct. 2008
Offline
I looked at your file a while ago and didn't understand the question or problem. I suspect others felt the same.
--
Jobless
User Avatar
Member
7803 posts
Joined: Sept. 2011
Offline
osong
staggering response

bump for visibility

You forgot to set volume limit to >0
Edited by jsmack - March 21, 2023 12:21:53

Attachments:
squabfog.jpg (35.4 KB)
potato_renders2.hiplc (1.1 MB)

User Avatar
Member
8594 posts
Joined: July 2007
Offline
jsmack
You forgot to set volume limit to >0
you shouldn't need to do that
emissive objects can be treated as direct lights and therefore sampled more efficiently, I believe this used to default to automatic, now seems to default to No
but you can add rendergeometrysettings node and set Treat As Light to On or Auto

that being said it seems to work only on CPU for me so for XPU you may need to use bruteforce indirect approach by increasing volume limit
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
7803 posts
Joined: Sept. 2011
Offline
tamte
jsmack
You forgot to set volume limit to >0
you shouldn't need to do that
emissive objects can be treated as direct lights and therefore sampled more efficiently, I believe this used to default to automatic, now seems to default to No
but you can add rendergeometrysettings node and set Treat As Light to On or Auto

that being said it seems to work only on CPU for me so for XPU you may need to use bruteforce indirect approach by increasing volume limit

XPU doesn't support emissive objects as lights
User Avatar
Member
249 posts
Joined: May 2017
Offline
Thanks for the ideas and suggestions

https://twitter.com/oossoonngg [twitter.com]
  • Quick Links