Home - Forums - Documentation - Gallery - Bugs
m (This is the shader Tutorial from Sebastien Marchal (avedakedavra user))
("Cg" is really spelled like that.)
Line 2: Line 2:
==== Acknowledgement ====
==== Acknowledgement ====
-
Thanks a lot to ‘res’ for answering the many questions, that made it possible for me to finnish this tutorial.
+
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 how shaders work. We will built a silly application, that highlight meshes, which get clicked by the mouse. It is assumed, that the reader has some knowledge of '''‘CG’''' and '''CS''' in general. For CS, make sure you went through the simmap tutorial. After this tutorial, you should get started on:
+
The goal of this tutorial, is to show how shaders work. We will built a silly application, that highlight meshes, which get clicked by the mouse. 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. After this tutorial, you should get started on:
* How to find mesh under mouse clicks
* How to find mesh under mouse clicks
* Accessing mesh shaders parameters
* Accessing mesh shaders parameters
* Changing mesh shaders parameters
* Changing mesh shaders parameters
-
* Shader writing using CG
+
* Shader writing using Cg
* Some information on ‘how to debug that darn shader’
* Some information on ‘how to debug that darn shader’
* Very basic usage of shaders in blender and blender2crystal
* Very basic usage of shaders in blender and blender2crystal

Revision as of 16:04, 12 June 2007

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 how shaders work. We will built a silly application, that highlight meshes, which get clicked by the mouse. 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. After this tutorial, you should get started 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 that darn 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

| Article | Discussion | View source | History |