Hi, i’ve been trying to port my shaders from XNA to Monogame 3.5, but i’m having problems with Struct type parameters.
This: struct DLight { float3 LightDirection; float4 LightColor; float LightIntensity; bool Shadows; float4x4 LightViewProjections[4]; }; DLight DirectionalLight; // <--- The error throwing line
will not compile. (with error “Unsupported parameter class!”)
simmilar topic was answered with “its not implemented yet”, so is that still the case?
What kind of alternative data structure would you recommend than?