- Home /
Transparent Texture2D
Hey there, I have a texture that when on a object is not transparent.
Is there a way to make it so that the mesh of the object transparent?
Answer by karl_ · Oct 13, 2011 at 02:32 AM
Use the Transparent/Diffuse shader instead of Diffuse. You can then adjust the alpha channel to your desired transparency.
Answer by simonmc · Oct 13, 2011 at 02:15 AM
gameObject.renderer.enabled = false;
Will stop the mesh from rendering, making it transparent - is that really what you're trying to achieve though?
wait umm... I guess if I post my code will that help? How do I post code on here? as I have this code but I want the code to do the same thing but for a material ins$$anonymous$$d of a 2d texture
Your answer
Follow this Question
Related Questions
Dynamic Shader to Outline Adjacent Textures? 0 Answers
I want to add stripes at varying lengths on my object. How do I do that? 2 Answers
Creating a 2D game using planes with textures 1 Answer
Transparent cutout SSAO problem 1 Answer
How to get rid of dark line on the edge of transparent pixels? 2 Answers