Replies: 1 comment 1 reply
-
Try setting: stateInfo.blending = true; |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to add an "overlay" by a second
vsg::View
that should contain a rectangle. Eventually, I will control this rectangle for selection by the mouse. As a shortcut I tried to use the builder and a quat for the rectangle, but what confuses me is that the the alpha channel of the color was not honored, and the rectangle was drawn opaque. Is there a some (state?) setting that can be used to get alpha transparency. Or do I have to write my own shader to get a transparent rectangle?Here is the code that I used:
Beta Was this translation helpful? Give feedback.
All reactions