Wall Worm Forums

Design Tools => Materials and Textures => Topic started by: warmeup on February 08, 2016, 05:54:35 PM

Title: Ambient occlusion compile errors.
Post by: warmeup on February 08, 2016, 05:54:35 PM
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?
Title: Re: Ambient occlusion compile errors.
Post by: kinggambit on February 20, 2016, 06:08:22 PM
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.
Title: Re: Ambient occlusion compile errors.
Post by: warmeup on February 27, 2016, 11:26:26 AM
Yea. Meanwhile, I multiplied the occ with the diffuse, But i want to know what's wrong.