I'm having some problems when trying to add a dirtmap to a surface. I want to be able to control the opacity of the dirtmap in the CGA rule file. This is the code so far, the dirt map shows up along with the Grass texture, it is just to dominating.
setupProjection(0, scope.xz, 2.25, 1.5, 1) //ColorMap
setupProjection(1, scope.xz, 2.25, 1.5, 1) // BumpMap
setupProjection(2, scope.xz, '1, '1) // DirtMap
I have tried adding the set(material.opacity,0.5) but that makes all the materials transparent, hope one of you have the answer, and another question, I'm trying to add a bumpmap, but the bump is not visible in the scene, does any information lack in rulefile?