117 |
|
|
118 |
buf.append(setup); |
buf.append(setup); |
119 |
|
|
120 |
pass.setNTexGens(n); |
pass.setNTexGens(n + offs); |
121 |
for(int i=0; i<n ; i++) { |
for(int i=0; i<n ; i++) { |
122 |
buf.append("\nActiveTexture TEXTURE"); |
buf.append("\nActiveTexture TEXTURE"); |
123 |
buf.append(i + offs); |
buf.append(i + offs); |
125 |
buf.append(img.loader.getTexture().getTexId()); |
buf.append(img.loader.getTexture().getTexId()); |
126 |
buf.append("\n"); |
buf.append("\n"); |
127 |
|
|
128 |
pass.putNormalTexGen(i + 1, texgen); |
pass.putNormalTexGen(i + offs, texgen); |
129 |
} |
} |
130 |
buf.append("\nActiveTexture TEXTURE0\n"); |
buf.append("\nActiveTexture TEXTURE0\n"); |
131 |
|
|