In Karma, How do i get an ambient occlusion render pass?
7832 10 2-
- Beka
- Member
- 42 posts
- Joined: March 2018
- Offline
-
- jsmack
- Member
- 8173 posts
- Joined: Sept. 2011
- Offline
On the Karma Render Settings node, enable "Simplified Shading" to switch to a global ambient occlusion mode. Note that Display color still tints the scene, so you might need to block the attribute on the geometry to get a gray render if the attribute is present.
Edit:
It doesn't seem to enable AO for XPU though, instead it renders a simple version of the scene without shaders and headlight only.
Edit:
It doesn't seem to enable AO for XPU though, instead it renders a simple version of the scene without shaders and headlight only.
Edited by jsmack - Oct. 29, 2022 17:36:16
-
- Beka
- Member
- 42 posts
- Joined: March 2018
- Offline
jsmackThank you. Yeah, it looks like it might work, but Karma defenetely needs more better way of AO
On the Karma Render Settings node, enable "Simplified Shading" to switch to a global ambient occlusion mode. Note that Display color still tints the scene, so you might need to block the attribute on the geometry to get a gray render if the attribute is present.
Edit:
It doesn't seem to enable AO for XPU though, instead it renders a simple version of the scene without shaders and headlight only.
-
- jsmack
- Member
- 8173 posts
- Joined: Sept. 2011
- Offline
-
- Beka
- Member
- 42 posts
- Joined: March 2018
- Offline
-
- jsmack
- Member
- 8173 posts
- Joined: Sept. 2011
- Offline
-
- papahh
- Member
- 2 posts
- Joined: Dec. 2019
- Offline
jsmackThis sound you should avoid write answer here.bekajsmackYes. It is a super global and I need more control. For example, I need AO only between objects and a ground and not AO of self produced ground.
Better than checking a box?
That sounds like you need to write a custom shader.
Edited by papahh - May 23, 2024 09:43:44
-
- vopsop
- Member
- 19 posts
- Joined: March 2025
- Offline
-
- Heileif
- Member
- 262 posts
- Joined: Jan. 2015
- Offline
vopsopjsmackWOW, still an issuebekajsmackYes. It is a super global and I need more control. For example, I need AO only between objects and a ground and not AO of self produced ground.
Better than checking a box?
That sounds like you need to write a custom shader.
This is in the changelog.
20.5.305
XPU: adds support for AO AOV
Edited by Heileif - July 8, 2025 09:14:21
-
- mrtn
- Member
- 3 posts
- Joined: Jan. 2015
- Offline
have a look here and analyze the hda. This should be tweakable to do what you need.
https://senlegio.gumroad.com/l/ss_clay_material_override [senlegio.gumroad.com]
https://senlegio.gumroad.com/l/ss_clay_material_override [senlegio.gumroad.com]
Edited by mrtn - July 8, 2025 11:30:40
-
- Mirko Jankovic
- Member
- 266 posts
- Joined: Aug. 2015
- Online
HeileifThere is AO AOV now but zero control. Falloff, distance.... anything. Any ideas if we can do any control with that at all?vopsopjsmackWOW, still an issuebekajsmackYes. It is a super global and I need more control. For example, I need AO only between objects and a ground and not AO of self produced ground.
Better than checking a box?
That sounds like you need to write a custom shader.
This is in the changelog.
20.5.305
XPU: adds support for AO AOV
-
- Quick Links