Hi,
I have an isssue with texturizing walls of my building model. What I want to is to texturize only walls but leave objects (e.g. window and door) without additional texture, because these objects have their own textures defined. Here is my cga script and screenshot of current model:
SpoilertestWall -->
extrude(4)
comp(f){front : Wall1}
Wall1 -->
setupProjection(0, scope.xy, 1, 1)
texture(test)
projectUV(0)
split(x){ '0.5 : Window | '0.5 : Doors }
Window -->
split(x){ ~1 : Wall.
| 1 : split(y){ ~1 : Wall.
| 1 : WindowAsset
| ~1 : Wall. }
| ~1 : Wall. }
Doors -->
split(x){ ~1 : Wall.
| 1.5 : split(y){ 2.5 : DoorsAsset
| ~1 : Wall. }
| ~1 : Wall. }
WindowAsset -->
i(window)
mirror(false,false,true)
set(material.specular.r, 0)
set(material.specular.b, 0)
set(material.specular.g, 0)
DoorsAsset -->
i(plain_door)
mirror(false,false,true)
set(material.specular.r, 0)
set(material.specular.b, 0)
set(material.specular.g, 0)
