- Home /
Greyscale Image
I have a 2D game that I am porting over to unity. In the game I have a static background image. At the level start the image is converted to greyscale in memory, pixel by pixel. At certain points the color image would appear. To do this in the old game I would make the triangles to the color image and display the triangles on top of the greyscale image.
Any hints on the best way to do a similar thing in unity? I'm very new to unity.
Answer by DaveA · Jul 24, 2012 at 08:20 PM
http://docs.unity3d.com/Documentation/ScriptReference/Texture2D.GetPixels.html and http://docs.unity3d.com/Documentation/ScriptReference/Texture2D.SetPixels.html
Your answer

Follow this Question
Related Questions
Problems With NGUI on MAC 1 Answer
Need help finding why my onGUI() sliding image puzzle has errors! 1 Answer
load images into an array runtime. 0 Answers
Compine 4 sprites into one big image 0 Answers
Panel UI Organisation 0 Answers