- Home /
Masking a MeshRenderer
Hi there! I'm trying to make a mask but with Mesh renderers, and I have no idea how to do it.
I basically want to do this but with MeshRenderer, is there a way to do it? Thanks!
PS: I'm in 2D.
Comment
I wouldn't expect a simple, built-in solution to this. The process for rendering a 2D sprite is a lot less complex and computationally expensive than the process of rendering a 3D mesh. Your best bet for this is probably a custom shader.
Hello, thanks for answering! Yes I am running into that problem. (I also have the option to mask a UI element, but I don't find anything useful either.) I have no idea about shaders !!