Home - Forums - Documentation - Gallery - Bugs
m (This is the shader Tutorial from Sebastien Marchal (avedakedavra user))
Current revision (20:58, 28 May 2008) (edit) (undo)
 
(One intermediate revision not shown.)
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 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
* 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 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

| Article | Discussion | View source | History |