- Home /
Question by
ZDS Alpha · Mar 21, 2015 at 06:06 PM ·
texturealphadrawingtransparent-texture
Draw Semi-transparent texture.
Let x be the first texture.
I want to draw a semi-transparent texture on other texture such that both textures are visible.
Can I use SetPixel/SetPixels
Comment
Answer by Kowalski042 · Mar 22, 2015 at 03:26 PM
Make your material with a transparent shader (Legacy tab in shader area). Then when you are using SetPixel, make the color like this:
Color c = new Color(red,blue,green,alpha/transparency);
//do your setPixel actions here
Your answer
Follow this Question
Related Questions
Texture transparency not working as expected 3 Answers
In game paint brush with spreading. LoadRawTextureData() issues. 0 Answers
Ugly black on 2D leaves 1 Answer
Best practices : alpha channel and atlas 1 Answer
Alpha-only texture? 0 Answers