Advertisement

Pixel transfer woes

Started by November 16, 2000 03:22 PM
1 comment, last by mhearn 24 years ago
Hi everyone, I am writing a text system that uses textured quads to display text fast on screen, but I have hit a brick wall when it comes to colouring. My idea was to use the pixel transfer bias factors to alter the colour from white text (that''s what it is in the texture) to any other colour, but the bias factor doesn''t appear to have any effect at all. Does anybody have any ideas what I might be doing wrong? thanks for any advice -mike
Well, just enable Colored Materials, then change the color before drawing the quad with the text texture on it, then.
Also, make your font white in your font file... (i''m just assuming that this is what you''re doing)

Firetop
Ugg --
Advertisement
Ah thanks, yes I realised that the glColor command would affect textures last night but I didn''t realise that coloured materials was the reason for it. Thanks for that.

BTW, the textured quads system is now basically complete if anyone would like a copy (it''s delphi only i''m afraid) then please email me (mhearn@subdimension.com).

thanks again -mike

This topic is closed to new replies.

Advertisement