I did the pong tutorial and that worked quite well, but I’d also like to draw some basic 2d shapes. So I make a mesh and a texture and, using that texture, a material, and then add these to an entity (I think that these are correct, but of course please let me know if there’s something wrong with them).
(I can only add 2 links to this post, so here are my methods for creating the mesh, texture, and material, and for creating the entity that i want to draw, the names should be self-explanatory).
RenderFlat2D seems like it should do what I want (that is,
2D things on a
Flat plane), but using the rendering setup from the pong tutorial or the 2D starter does not display the red square on my screen like I would like it to. I think my issue is the render plugin, but I don’t know which to use. I don’t want a lighting system or anything 3D (and I’d also like to keep being able to render sprites easily), but I can’t find the rendering plugin/system to use. The
SpriteRenderdocumentation mentions a
RenderFlat that might render meshes, but I can’t find anything by that name in the API docs.