ofDrawBitmapStringHighlight doesn't respect ofDrawBitmapMode #1514

Open
bakercp opened this Issue Aug 27, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@bakercp
Member

bakercp commented Aug 27, 2012

Hey @kylemcdonald, this occurs when drawing inside of an fbo when using the default OF_BITMAPMODE_MODEL_BILLBOARD

        ofDrawBitmapStringHighlight(s,p);

Basically, I think the ofRect here needs the same ofDrawBitmapMode dependent view treatment that the bitmap string gets here.

@kylemcdonald

This comment has been minimized.

Show comment Hide comment
@kylemcdonald

kylemcdonald Aug 28, 2012

Contributor

Yes, this is definitely a known bug... At least, in my head ;) and you solution is right, it just requires more refactoring than I would like.

I was also thinking about background mode being based on drawing the glyphs with alpha off, and replacing the alpha portion with a fixed color. Not sure if there's an obvious way to do this with gles though.

Contributor

kylemcdonald commented Aug 28, 2012

Yes, this is definitely a known bug... At least, in my head ;) and you solution is right, it just requires more refactoring than I would like.

I was also thinking about background mode being based on drawing the glyphs with alpha off, and replacing the alpha portion with a fixed color. Not sure if there's an obvious way to do this with gles though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment