Any have got sc_materials_event() crash vhen using sc_entity creating functions? After many tests im pinpointed to sc_materials_event line:
pEffect->SetTexture("texNormalsAndDepth", screen.renderTargets.gBuffer[SC_GBUFFER_NORMALS_AND_DEPTH].d3dtex);

Its happening when turning on forward rendering flag(otherwise this event dont uses this case).

I really dont know what to do - no idea what this line do and how i could repair things. Is this line wrong or model which is set for this line?

I really hope any other could do some tests.

Last edited by Arrovs; 05/13/13 02:04.

Arrovs once will publish game