("Cg" is really spelled like that.) |
|||
| Line 5: | Line 5: | ||
| - | The goal of this tutorial | + | The goal of this tutorial is to show the basic functionalities of shaders. In the tutorial a simple application that highlight meshe when clicked is developped. It is assumed that the reader has some knowledge of '''‘Cg’''' and '''CS''' in general. For CS, make sure you went through the simpmap tutorial. With this tutorial, you should get some basis on: |
* How to find mesh under mouse clicks | * How to find mesh under mouse clicks | ||
| Line 11: | Line 11: | ||
* Changing mesh shaders parameters | * Changing mesh shaders parameters | ||
* Shader writing using Cg | * Shader writing using Cg | ||
| - | * Some information on ‘how to debug | + | * Some information on ‘how to debug a shader’ |
* Very basic usage of shaders in blender and blender2crystal | * Very basic usage of shaders in blender and blender2crystal | ||
Current revision
This is the shader tutorial from Sebastien Marchal (avedakedavra user)
Acknowledgement
Thanks a lot to ‘res’ for answering the many questions, that made it possible for me to finish this tutorial.
The goal of this tutorial is to show the basic functionalities of shaders. In the tutorial a simple application that highlight meshe when clicked is developped. It is assumed that the reader has some knowledge of ‘Cg’ and CS in general. For CS, make sure you went through the simpmap tutorial. With this tutorial, you should get some basis on:
- How to find mesh under mouse clicks
- Accessing mesh shaders parameters
- Changing mesh shaders parameters
- Shader writing using Cg
- Some information on ‘how to debug a shader’
- Very basic usage of shaders in blender and blender2crystal
The pdf containing the tutorial itself is downloadable here: Image:Shader101Tutorial.pdf
A zip file containing files belonging to the tutorial: Image:Shader101Tutorial.zip
