Packing depth, two bytes working, who can make it with 3?

edited September 2014 in GLSL / Shaders

Hello

I'm experimenting with float pack in texture bytes, now two bytes is working but I'm not able to do with 3, somebody can help?. The aim is to build and share ssao, shadows and something more.

When using opengl ES2 pack examples doesn't work and strange behaviour with byte ordering that I don't understand.

The working example with two bytes in the repo https://github.com/edumo/P5PostProcessing Depth2Bytes

thanks

Answers

Sign In or Register to comment.