how can i check my videocard for alpha blending support?
on my pc i can set e.g. images semi-transparent with setAlphaScale(.5).
but when i try to check this out at my friends computer, i won’t be shown, till alpha is 1.
it would be nice first to check the videocard for its ability to alphablend. if card doesn’t support it, don’t do any alphablending, else just do it.
You can manually check your graphics card settings by putting “notify-level-glgsg spam” in your Config.prc file.
Alternatively, you can use the GraphicsStateGuardian class to check them programatically. Here’s a function to list everything:
thanks!
alpha_scale_via_texture is “true” on both computers, so that seems not to be the flag i’m looking for.
do you have any ideas which flag could be the right one (alphablending)?
Right, every 3-D card can do alpha blending. Has been that way since the 90’s.
Whatever’s going on with your friend’s computer can’t be related to the graphics card’s capabilities. There must be something else wrong. From your description, I don’t have enough information to speculate on what the actual problem might be.