:gobj(error): created-shader: (21) : error C5102: output semantic attribute "TEX
COORD" has too big of a numeric index (8)
:gobj(error): Shader encountered an error.
…but even if I could, I can’t because my frame buffer texture has some strange alpha data anyway (even with alpha-bits 0)
Screen:
So… how can I remove all alpha data from a texture buffer (spawned with makeTextureBuffer())? Or even better how can I replace the alpha channel from said buffer with a image (loaded from a file)?
I can provide the whole program that I’m working on if what I’m saying ain’t clear.
So far I’ve tested:
-alpha-bits 0 in prc
-framebuffer-alpha #f in prc
-fbp=FrameBufferProperties() fbp.setAlphaBits(0) and passing it to makeTextureBuffer()
-setAlphaFilename() on the texture returned from makeTextureBuffer()
-setFormat(Texture.FRgb) on the texture returned from makeTextureBuffer()
The frame buffer still reports 'depth_bits=1 color_bits=1 alpha_bits=8 stencil_bits=1 force_hardware=1’the texture still is ugly.
I’m not sure if I’m encountering a bug of some sort, or am I (again)trying to do something that I should not.