Baking scene AO onto vertex colours?

   2837   2   0
User Avatar
Member
21 posts
Joined: July 2019
Offline
Hi all,

AS title suggests, I'm trying to bake scene AO onto vertex colours. I can get this working via a rendered AO map using the AttributeFromMap - but it doesn't look correct, and it means I have to bake a rasterized map first..

Ideally I want to make scene AO directly onto vertex colors.

Anyone know how to do this?

Many Thanks
User Avatar
Member
7762 posts
Joined: Sept. 2011
Online
In an attribute wrangle, sample the hemisphere aligned with the normal by intersecting the model. Average the result of the intersections over many samples. Store the average to Cd.
User Avatar
Member
670 posts
Joined: Sept. 2013
Online
The GameDev-toolset has a node called “calculate occlusion”, as well.
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
  • Quick Links