Oort, some times you need that the same texture affect to 'diffuse' and 'bumpmap' layer, EXACTLY with the same parameters values, for example for sync the bump factor with the color..
![[Image: two_layers.png]](https://dl.dropboxusercontent.com/u/16287483/wings3d/two_layers.png)
You also can use 2 shader 'tabs', but , with some complex materials, 5 tabs not have enough
By other hand, create loops in Erlang seems very PITA..
Gretings..
Micheus...
You can see here that I need for write texture layers.. material layers
The first problem seems that Erlang don't allow 'if else' statment..
![[Image: two_layers.png]](https://dl.dropboxusercontent.com/u/16287483/wings3d/two_layers.png)
You also can use 2 shader 'tabs', but , with some complex materials, 5 tabs not have enough

By other hand, create loops in Erlang seems very PITA..
Gretings..
Micheus...
You can see here that I need for write texture layers.. material layers
The first problem seems that Erlang don't allow 'if else' statment..

The Universe is an infinite equation