Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - oomek

Pages: 1 ... 5 6 [7]
91
Feature requests / Issue with overlay blending modes
« on: April 22, 2017, 11:45:12 am »
I'm sorry for digging out that old thread but this is the only thread I could find which mentioned an overlay blending mode in SFML. I use:

Code: [Select]
BlendMode(sf::BlendMode::DstColor, sf::BlendMode::SrcColor).
This works great, but the problem I'm having is that I have no way of controling the opacity of the effect, I've tried also:

Code: [Select]
BlendMode(sf::BlendMode::DstColor, sf::BlendMode::SrcColor, sf::BlendMode::Add, sf::BlendMode::SrcAlpha, sf::BlendMode::Zero, sf::BlendMode::Add);
But this seem not to work either. Is there any other way I could try to control the opacity in that mode?

Pages: 1 ... 5 6 [7]