hi,
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:
[java]
FROM
uniform sampler2D m_DiffuseMap;
TO
uniform sampler2DArray m_DiffuseMap;
[/java]
screenshot 1
screenshot 2
sincerely
Alrik
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…