Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

ofDrawBitmapStringHighlight doesn't respect ofDrawBitmapMode #1514

Open
bakercp opened this Issue · 1 comment

2 participants

@bakercp
Collaborator

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

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
Something went wrong with that request. Please try again.