I'm trying to use B3D's secondary texture co-ords, my graphics card supports 8 texture layers but i've no idea where I would look up texture co-ordinate sets supported.
I create the texture.
...Global shadowTexture=CreateTexture(4,4)
Set it to use texture set 1.
...TextureCoords shadowTexture,1
Temporarily colour the texture red so I can see the effect.
...SetBuffer TextureBuffer(shadowTexture)
... Color 255,0,0
... For x=0 To TextureWidth(shadowTexture)
... For z=0 To TextureHeight(shadowTexture)
... Plot x,z
... Next
... Next
...SetBuffer BackBuffer()
I tnen apply the texture to an object.
...EntityTexture u\o,shadowTexture,0,1
Unfortunately I do not see the secondary texture layer at all. Can anyone tell me if I am missing something please?
I create the texture.
...Global shadowTexture=CreateTexture(4,4)
Set it to use texture set 1.
...TextureCoords shadowTexture,1
Temporarily colour the texture red so I can see the effect.
...SetBuffer TextureBuffer(shadowTexture)
... Color 255,0,0
... For x=0 To TextureWidth(shadowTexture)
... For z=0 To TextureHeight(shadowTexture)
... Plot x,z
... Next
... Next
...SetBuffer BackBuffer()
I tnen apply the texture to an object.
...EntityTexture u\o,shadowTexture,0,1
Unfortunately I do not see the secondary texture layer at all. Can anyone tell me if I am missing something please?