Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
Question regarding rendertextures.
Print
Pages: [
1
]
Author
Topic: Question regarding rendertextures. (Read 1231 times)
0 Members and 1 Guest are viewing this topic.
Lolilolight
Hero Member
Posts: 1232
Question regarding rendertextures.
«
on:
March 01, 2014, 09:58:51 pm »
Hi !
I would like to know if it's possible to get the zPosition of pixels from a rendertexture in a fragment shader just like it's shown in this following link with an fbo :
http://ogldev.atspace.co.uk/www/tutorial23/tutorial23.html
Or should I reimplement the render texture class ?
I would like to do a two pass rendering with a depth and alpha test.
«
Last Edit: March 01, 2014, 10:00:43 pm by Lolilolight
»
Logged
PoxBear
Newbie
Posts: 4
Re: Question regarding rendertextures.
«
Reply #1 on:
April 08, 2014, 11:51:40 pm »
I too would be interested in knowing this.
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
Question regarding rendertextures.