I'm new to this so I don't really know my way around to well. I'm trying to draw a custom mesh but when I, in the SceneProxy, call PDI->DrawMesh the game just crashes and the only thing in the VS output is
And I have no clue what is causing it so if anyone knows what might be causing the issue then please help me out here. Here's the code where I render the mesh.
asked Oct 04 '14 at 10:41 AM in Rendering
Whats your FWaterSurfaceVertexFactory function "ShouldCache" look like? Im asking this coz in the error output, it says "ShouldCache: Mat=1, VF=0, Shader=1". So the Material and the Shader but not the Vertex Factory should be cached. So I am thinking that your vertex factory is not being properly cached and so therefore its not getting properly added to the vertex factory shader library.
answered Oct 04 '14 at 10:56 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here