Tag Info

Hot answers tagged

2

Try turning off backface culling. In your shader, put "Cull Off" in the "SubShader" section.


1

There's three members of a D3D11_MAPPED_SUBRESOURCE: a pointer to the beginning of the data; the number of bytes from the beginning of one row of data to the next row of data; the number of bytes from the beginning of one depth slice of data to the next depth slice of data. As none of these members communicate anything about the actual extents of a row ...


1

This is an old topic, and I had a similar problem to the topic. I had my texture coordinates just fine, but by lerping the camera position (which changed my element's positions) like so: public static void tween(Camera cam, Direction dir, Vec2 buffer, Vec2 start, Vec2 end) { if(step > steps) { tweening = false; return; } ...



Only top voted, non community-wiki answers of a minimum length are eligible