- Home /
Good resources for learning how to write shaders, Cg, ShaderLab?
Anything you find useful?
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.
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.
Is this still relevant and updated for the surface shaders for 3.0?
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:
It's a pity I'm not that good at catching my own mistakes ;>
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.
is the shader talk from Unite 2008 still relevant with the new Shader Lab and mobile shaders?
Answer by bowditch · Dec 03, 2009 at 03:37 PM
One of my students created a video tutorial about this subject:
I hope this is helpful
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 :)
Unity Gems seems to have disappeared.
Here is a web archive
https://web.archive.org/web/20140626101041/http://unitygems.com/
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).