newincpp / G_Rand

A tiny portable OpenGL (for now) library with minimal dependency at execution
Creative Commons Zero v1.0 Universal
3 stars 0 forks source link

Need uniform depthTexture #1

Closed RomainFranck closed 7 years ago

RomainFranck commented 9 years ago

Hiya, I need the depth of the frags to do the ssao shader

newincpp commented 9 years ago

i will check how to do it by tomorrow and if it is fast to implement you will see it very very soon. if it's not, because i lack of time i don't know when i will take time to implement it.

newincpp commented 9 years ago

It need some yak shaving so you will have to wait... Except if you want to implement RTT and textures...

RomainFranck commented 9 years ago

urgh, I'll do it then

newincpp commented 7 years ago

added as "uniform sampler2D gDepth"