Ambient occlusion compile errors.

Started by warmeup, February 08, 2016, 05:54:35 PM

Previous topic - Next topic

warmeup

The more I dive in, the more I learn and encounter new errors.
while i was attempting to export a model "again  :P", I encountered this warning which is caused by the ambient occlusion map.
WARNING: Error! Variable "$AmbientOcclusion" is multiply defined in material "me
tal detector/plastic"!

Anyone knows what's causing this, and how to solve it?

kinggambit

Sorry, dont know the answer but cant you just combine the ambient occlusion into the diffuse?

I got a similar compile warning in hammer when using a texture of numerical digits a while ago [http://csgo.gamebanana.com/prefabs/6340](http://csgo.gamebanana.com/prefabs/6340). I'm assuming it's something to do with the blending mode.

warmeup

Yea. Meanwhile, I multiplied the occ with the diffuse, But i want to know what's wrong.

SMF spam blocked by CleanTalk