• 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
2
Question by Jean-Fabre · Nov 19, 2010 at 07:07 AM · shader

where can I get the overdraw shader used in the authoring scene

Hi,

Is the shader used for the overdraw effect available somewhere? You can view it in the authoring scene tab , the second drop down is normaly set to rgb but you have other options, including overdraw.

Thanks of your hints.

Bye,

Jean

Comment
Add comment · Show 2
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 jameslee0227 · Nov 19, 2010 at 08:44 AM 0
Share

why don't you graphical shader tools? maya, max, UD$$anonymous$$, and shaderfusion on asset store If a bit is enough to please consider purchasing

avatar image Jean-Fabre · Nov 19, 2010 at 11:51 AM 0
Share

I wouldn't know where to start with this as I haven't got any knowledge of shader coding.

1 Reply

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

Answer by Kuba · Jan 18, 2011 at 10:58 AM

The simplified version of the shader we use:

Shader "Overdraw" { Properties { _MainTex ("Base", 2D) = "white" {} }

SubShader { Fog { Mode Off } ZWrite Off ZTest Always Blend One One // additive blending

 Pass {
     SetTexture[_MainTex] {
         constantColor(0.1, 0.04, 0.02, 0)
         combine constant, texture
     }
 }

} }

The full shader has some special passes to handle trees waving in the wind, billboarded leaves and grass. But the above should get you started. :)

Comment
Add comment · Show 2 · 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 Jean-Fabre · Jan 18, 2011 at 12:34 PM 0
Share

Thank you very much :)

avatar image Jean-Fabre · Jan 18, 2011 at 12:50 PM 0
Share

a version with the possibily to tweak the color from the interface is available on the related question in the forum: http://forum.unity3d.com/threads/74320-How-to-build-or-where-to-get-the-quot-overdraw-quot-shader-used-in-the-Scene-view

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

How to force the compilation of a shader in Unity? 5 Answers

Unity 5 tesselation problem 1 Answer

Assigning a texture to a black & white "alpha mask" 2 Answers

Standalone works, WebGL doesn't; shader problem?,Standalone version works, WebGL doesn't. Shader problem? 1 Answer

Unity 5 fragment shader that writes custom depth into the depth texture 1 Answer


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