x


Different colours toon shades

I am new to shaders but i want to have a toon shader on everything, it works and it looks cool, but i want different coulours. so i go to change the couler to red and everything changes to red. Does anyone know how i can make everything different coulers while still using the toon shader that comes with unity.

more ▼

asked May 27 '12 at 09:14 PM

Mup gravatar image

Mup
1 13 14 14

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

You need to create one material for each colour that you are after. Simply add a new material, and select the toon shader. You can then change the colour on that material and assign to your object(s).

Ideally though you should reuse the same texture atlas where possible to reduce the number of draw calls. This is especially important for mobile games.

more ▼

answered May 28 '12 at 12:41 AM

numberkruncher gravatar image

numberkruncher
2.2k 37 46 59

Thank you Lea Hayes. Ha i just realised i spelt colours as coulours. Any way this has helped me alot. If you want to see my game so far check out this video. http://www.youtube.com/watch?v=GR1l2yoTzcY&list=UU8j9GYjuw6M-oXrV-gt5Hcg&index=1&feature=plcp

May 28 '12 at 06:46 PM Mup
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x38

asked: May 27 '12 at 09:14 PM

Seen: 361 times

Last Updated: May 28 '12 at 06:46 PM