Home - Forums - Documentation - Gallery - Bugs

This is the shader Tutorial from Sebastien Marchal (avedakedavra user)


Thanks a lot to ‘res’ for answering the many questions that enabled me to terminate this tutorial.

The goal of this tutorial is to show how shaders works through a little example requiring some shaders manipulation. We will built a silly application that hilite meshes when clicked. 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. From that 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 reachable under Image:Shader101Tutorial.pdf

A zip file containing files belonging to the tutorial is reachable under Image:Shader101Tutorial.zip

| Article | Discussion | View source | History |