Texture array with pssm


does anyone know why the shaders such as pssm, ssao won’t work with texture arrays?

the shaders produces digits and letters instead of shadows o.O

i use the lighting shader from the jme matdefs and I have only changed some texture definitions:



uniform sampler2D m_DiffuseMap;


uniform sampler2DArray m_DiffuseMap;


screenshot 1

screenshot 2



well it could be anything…

I guess you had to change a lot of stuff in the shaders/processors/filters to make them compile with texture arrays…you must have made some thing wrong.

You have letters because that’s just memory trash i guess, your frame buffer is not properly written…