• 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
11
Question by robert · Nov 12, 2009 at 02:16 PM · shadergraphicsresourcescgtutorials

Good resources for learning how to write shaders, Cg, ShaderLab?

Anything you find useful?

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 Ehren · Nov 12, 2009 at 03:23 PM 0
Share

Hi robert. You might want to move the links from the question into an answer (it's okay to answer your own question). That seems to be the convention others are following.

avatar image robert · Nov 12, 2009 at 04:15 PM 0
Share

It made more sense to me to put the most obvious answer to the question in the question itself, but since it might confuse some people, let's stick to the rule, that all answers are submitted as answers.

avatar image Jeremy 6 · Dec 08, 2010 at 01:50 AM 0
Share

Is this still relevant and updated for the surface shaders for 3.0?

4 Replies

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

Answer by robert · Nov 12, 2009 at 04:12 PM

For Unity users I'd recommend reading:

  • Unity Manual - ShaderLab reference
  • Shader Programming Course - Unite '08 talk
  • The Cg Tutorial - NVIDIA

And then experimenting with:

  • Unity built-in shaders
  • Shader Replacement example project
Comment
Add comment · Show 5 · 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 robert · Dec 03, 2009 at 04:42 PM 0
Share

It's already on the list, the 3rd link from the top ;>

avatar image bowditch · Dec 03, 2009 at 06:41 PM 0
Share

Thanks for catching my mistake Robert. . . Long week :)

avatar image robert · Dec 03, 2009 at 09:11 PM 0
Share

It's a pity I'm not that good at catching my own mistakes ;>

avatar image SisterKy · Aug 08, 2011 at 02:29 AM 0
Share

your first link does not actually go to the $$anonymous$$anual, but to the Reference.
Unless I overlooked something, you don't have the link to the Shader-$$anonymous$$anual
(maybe you could mark your answer as community-wiki?) Greetz, $$anonymous$$y.

avatar image ina · Nov 25, 2011 at 11:15 PM 0
Share

is the shader talk from Unite 2008 still relevant with the new Shader Lab and mobile shaders?

avatar image
1

Answer by Pixelstudio · Nov 14, 2009 at 02:11 PM

There are a couple of books that can help you out. GPU Gems, ShaderX, etc

much info can be found on : http://developer.nvidia.com/page/home.html It's the developer page of nvidia and has a couple of online-books and you can download shaderFX (a visual editor).

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
3

Answer by bowditch · Dec 03, 2009 at 03:37 PM

One of my students created a video tutorial about this subject:

Unity ShaderLab and CG

I hope this is helpful

Comment
Add comment · Show 1 · 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 ina · Nov 26, 2011 at 11:13 AM 0
Share

does this still work in Unity 3?

avatar image
2

Answer by whydoidoit · Nov 05, 2012 at 08:40 AM

We've added a Noobs Guide To Shaders tutorial on Unity Gems. It builds from understanding the structure of shaders to actually building useful ones. It might help :)

Comment
Add comment · Show 1 · 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 meat5000 ♦ · Mar 05, 2015 at 03:31 AM 0
Share

Unity Gems seems to have disappeared.

Here is a web archive

https://web.archive.org/web/20140626101041/http://unitygems.com/

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

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

How can I make my own shader include file (.cginc or .glslinc)? 2 Answers

Need help with this Shader; camera Solid color is being rendered on skybox. 0 Answers

Can I see the calculation of unity_MatrixVP ? 1 Answer

Unity CG Include not at all working 2 Answers

How to access another sprite's texture from a 2D shader 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges