Hi all,
I honestly dont know where else to post this, since it probably is a n00b question, it has its home here. In any case…
I am using EXT_packed_depth_stencil to render to DEPTH24_STENCIL8 texture target and I wish to access the stencil value from fragment shaders in order to do some funky shadow volume/map mixing of their ambient factor.
Anyway, how can I access the stencil? The specs for EXT_packed_depth_stencil say that a sampler2D has an undefined operation on a DEPTH24_STENCIL8 format, only sampler2DShadow has defined operations. How does the sampler2DShadow deal with stencil values?
Any help on this matter is appreciated.
DP 