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.


Topics - chadushkind

Pages: [1]
1
Window / Own window design from .png with shadows
« on: March 04, 2016, 07:13:28 pm »
Hello guys.

1) I have a .psd design and some layers of it uses blending mode with shadows.
2) I create a .png of background image which takes layers with shadow.
3) I create a window that has "sf::Style::None" style.

And as result I taking the window where shadows of background image replaced by black pixels.

What i do in my code:
1) Create window with "sf::Style::None".
2) Load background-image to sf::Image, load image to sf::Texture, and create sf::Sprite from this texture.

Also it all looks like very bold border around image.

Thanks for answers.

2
Graphics / White rectangle
« on: February 19, 2014, 02:43:37 pm »

when i run the application, I get a white square. Why? And how to fix it? Thnx.

Pages: [1]