Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 tonydemot · Feb 08, 2012 at 05:24 AM · shaderlightingtutorial

where can you find shader tutorials?

i need to know where some shader tutorials are im planning to make some shaders for may game

Comment
Add comment
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

4 Replies

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

Answer by CHPedersen · Feb 08, 2012 at 07:43 AM

The Cg tutorial is a great book (I've read it myself), but it's a little outdated and the syntax of the Cg examples in it doesn't completely correspond to how Unity's ShaderLab works. For example, all shaders in the Cg tutorial book are Vertex/Fragment shader pairs, while in Unity, we get to write Surface shaders, from which a compiler then autogenerates the vertex and fragment shaders. So Unity's ShaderLab operates on a higher level of abstraction than that book does.

I would advise you to read the Cg tutorial to gain a theoretical understanding of how shaders work and how many popular shaders are implemented, such as animation and various lighting techniques (like bump mapping), but refer to Unity's own ShaderLab tutorials to learn how to apply your theoretical knowledge to Unity's specific framework.

You can find the Unity-specific shader tutorial here:

http://unity3d.com/support/documentation/Manual/Shaders.html

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 tonydemot · Feb 08, 2012 at 01:35 PM 0
Share

thanks i just needed to know were this was im a noob with CG

avatar image CHPedersen · Feb 08, 2012 at 01:53 PM 0
Share

You're welcome. If the reply helped you, it'd be great if you could mark it as correct. :)

avatar image
0

Answer by xylax · Feb 08, 2012 at 06:02 AM

Here you go: http://http.developer.nvidia.com/CgTutorial/cg_tutorial_chapter01.html

Comment
Add comment · 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
0

Answer by whydoidoit · Nov 11, 2012 at 02:16 PM

Just wanted to add that we've created the Noobs Guide To Shaders on Unity Gems.

Comment
Add comment · 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
0

Answer by Pi_3.14 · Nov 11, 2012 at 02:55 PM

http://wiki.unity3d.com/index.php/Getting_Started_with_Shaders

I started this page a while back because I couldn't find any page listing all the available resources for learning shader programming.

I encourage the community to keep it up-to-date.

Comment
Add comment · 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

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

8 People are following this question.

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

Related Questions

Unity5 Any way to have a unlit no depth shader? 0 Answers

How To Replicate the Untitled Goose Game Art Style? 0 Answers

Inverted Normals in Player, correct in Editor? 1 Answer

How can I add lighting to curved shader? 0 Answers

Creating a lighting shader 0 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