Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by davidwalmsley · Oct 30, 2015 at 03:49 AM · shaderlightingshadowstoon shader

Is it possible to make the new standard shader act like a toon shader?

I really like he way the toon shaders look, and I really like the way the standard shader gives all lights shadows. I know the new standard shader works very differently than the all the old shaders, and I was wondering if there something about the way the standard shader functions that makes giving it the properties of a toon shader impossible.

Granted i don't know much about the nuts and bolts of shaders, but I feel like the toon shaders are pretty popular in unity and I would think if it was possible someone would have come up with a toon shader that acts like the standard shader (shadows from all lights etc.) by now. I've yet to see one.

I'm wondering because I've been working on a game for some time now and the toon shader has become the backbone of the graphics. The cool new features on the standard shader are making me rethink if thats the way I want to go, but if I knew that there would be a toon shader that functions in the same way as the new standard shader at some point in the future it would make me very happy.

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Le-Pampelmuse · Nov 12, 2015 at 04:08 PM 2
Share

@davidwalmsley

Hey just wanted to check back and ask if my shaders are working as you expected?

avatar image davidwalmsley Le-Pampelmuse · Nov 25, 2015 at 01:28 AM 1
Share

Hey, I sent a reply like 5 $$anonymous$$utes ago, but I just checked and its not there anymore. To answer your question ... YES it works PERFECTLY!

So I had tried it out a while ago and couldn't get it work at all so I was like oh well, it was worth a shot, but tonight I was poking around with my shaders and I found the Le Pampelmuse section in the shaders, so I actually tested your stuff out for the first time, and its EXACTLY what I was looking for. Not sure what I was using before :/

Thank you SOOOO much. I have been trying to get these fracking shadows on my toon shader for ages. It makes me wonder what other magic you can work ...

avatar image Le-Pampelmuse davidwalmsley · Nov 25, 2015 at 07:17 AM 1
Share

Haha, great! I'm glad it's the right thing for you. ;)

You could "accept" my answer now so other people see it is answered in the list of questions and you could also close it too, since you have a solution now. :D

I'm afraid I can't do any magicat the moment, I'm currently trying to make my own wind cg to use ins$$anonymous$$d of the horrible Unity 3 wind that still hasn't changed to match today's standards. I hate how it affects everything the same. So unrealistic.

Shader wise, I haven't done much at the moment, but regarding the wind, I will have to look into vertex shaders of some sort.

1 Reply

· Add your reply
  • Sort: 
avatar image
5
Best Answer

Answer by Le-Pampelmuse · Oct 30, 2015 at 06:27 AM

I recently edited the nature/leaves shader to cast/receive shadows from everything.

Can you point me to the download location of the shader you are using? Then I could look into it and send you the edited copy.

Comment
Add comment · Show 6 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image davidwalmsley · Nov 02, 2015 at 06:33 AM 0
Share

I'm guessing you're asking about the toon shader. It's the toon-shader that came with Unity in like ... 3.something or 4.something. Theres a link to that here [Old Unity download package][1]

and a link to the text [here][2]

The new shader that I want to add toon shading to is the one that comes with Unity 5. It's called standard shader. If you could do either that would be awesome. Also, I haven't gotten the nature/leaves shader to work at all since I upgraded to Unity 5, I was using it for all my grass and foliage and haven't been able to get it do anything.

Thanks! [1]: https://www.assetstore.unity3d.com/en/#!/content/32351 [2]: http://answers.unity3d.com/storage/temp/41609-shader.txt

avatar image Le-Pampelmuse · Nov 02, 2015 at 10:22 AM 2
Share

Hello. I hopefully manged to get your wanted result. Unfortunately since a couple of days I can't upload any images to the comments to show you. I guess UA broke something about that. :/

Here's the link. It is the Shader directory to which I upload my solutions to shader issues. There you can find the Leaves as well.

https://www.dropbox.com/sh/u9j7bti7grpo9uk/AADIPdsAwa6egGvCuOIdletza?dl=0

Feel free to ask anything if unclear or if it's not how you imagined it.

avatar image Le-Pampelmuse Le-Pampelmuse · Nov 05, 2015 at 06:23 PM 2
Share

If this is not quite what you wanted, I can certainly try to make a Standard Shader copy that renders like the toon shader + the outline, but I thought the lack of shadows was the only thing bothering you.

avatar image davidwalmsley · Nov 13, 2015 at 01:30 AM 0
Share

Awesome! Thank you so much

Sorry it took so long to get back. I am pretty new to shaders as I said, so I'll have to dedicate a night or so to figure out exactly how to get them up so I can check em out, Ill be sure to let you know how it works out when I get them into my game.

Also the lack of dynamic shadows was my main issue, if thats handled then Ill be more than happy.

avatar image Le-Pampelmuse davidwalmsley · Nov 13, 2015 at 04:24 AM 2
Share

All you have to do is drag and drop them anywhere inside your assets folder.

Then for any object you want them to be applied to, change the shader in the $$anonymous$$aterial's inspector.

Simply put, $$anonymous$$eshes need materials to be visible, $$anonymous$$aterials use shaders to do anything. ;)

Hope it does the trick!

avatar image davidwalmsley Le-Pampelmuse · Nov 25, 2015 at 03:10 PM 0
Share

Holy SHIT! It worked! I was using the wrong shader and not being able to get it working, but I was messing around and found the LePampelmuse subsection in the shaders and it works like a charm! Thank you SOOOOO much!

Your answer

Hint: You can notify a user about this post by typing @username

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

Answers Answers and Comments

34 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Receiving Shadows On a Tranparent Shader 1 Answer

How to modify shadows with an image effect 0 Answers

Problem with Binars Lunar's Cel/Toon Shader 0 Answers

Shadow receiving problem 0 Answers

How to hide a sprite when they are in shadow using Unity 2D Light System? 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges