x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Ambient Occlusion not working (in two places)

So, I'm trying to set up Ambient Occlusion in my scene, but I'm having a bit of a problem - it's not rendering. At all. The odd thing is that the buffer visualisation for Ambient Occlusion shows nicely calculated AO, but then completely fails to apply it to the scene. I have no precomputed lighting in my scene (force no precomputed lighting is on, as it is primarily dynamically lit), but it doesn't seem to help if I change my lighting to being precomputed. It seems like it would be a simple task to bake the AO map onto the diffuse texture, as it has already rendered it (as seen by the fact that the buffer visualisation shows it correctly), but it doesn't seem to be having any effect.

On another note, my Material Ambient Occlusion map is stubbornly empty, despite the fact that I have several materials with an input to the Ambient Occlusion section. I have no idea why this would be, either, but I can't help but think the two issues are related.

Can anyone help me work out how to actually apply the AO that has been calculated in the buffer?

Product Version: Not Selected
Tags:
more ▼

asked Aug 12 '14 at 12:09 AM in Rendering

avatar image

Hoeloe
388 41 46 60

avatar image Hoeloe Aug 12 '14 at 02:06 PM

So, I have a hacky work-around which uses a custom Post-Process material to grab the AO map and apply it directly to the screen. This works, but looks a little ugly in places. I'd like to know how I can do this properly, if at all.

avatar image Lovecraft_K ♦♦ STAFF Aug 12 '14 at 08:46 PM

Hey Hoeloe -

Have you gone into your project's World Settings under Lightmass and toggled Use Ambient Occlusion on? (under Lightmass >>Lightmass Settings) You would need to use Lightmass, so the Forced no Precomputed should be false (unchecked).

Thank You

Eric Ketchum

avatar image Hoeloe Aug 12 '14 at 08:55 PM

Yes, but note that I am not using lightmass for my lighting calculations. However, even when I do, the AO does not appear.

avatar image Hoeloe Sep 06 '14 at 10:09 AM

Well, my workaround more or less works (with some reasonably complex tweaks), but I'm still wondering why, even when I turn lightmass on, my Material Ambient Occlusion buffer remains solid white, despite having my Ambient Occlusion node in my material connected.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question