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 - Rybens

Pages: [1]
1
Feature requests / Sending 3D Vector to Sprite's Position
« on: April 14, 2010, 05:55:43 pm »
It's my first post up here so I want to say Hello to all SFML users :)

Right now I'm writing 2.5D engine with SFML 2. I want to mix functions from SFML and OpenGL and use Shaders for normal mapping and calculating depth of all pixels.

Normal mapping works fine using functions from SFML, but depth testing not realy... it just draws sprites like before (One on other). And here's my question:

Is it possible to add ability to turn on depth buffer in sf::RenderWindow and then sending position of my sprites with Vector3f?

PS. And it would be very useful for some users, because of easy sorting of Sprites using Z-Buffer.

Pages: [1]