Renderstate

Rendering in Real-Time

Shader Library

Contents


Texturing

Environment Map

Title : Spherical Environment Map

Description : Spherical Environment Map Example. (1 Technique, 1 Pass)

Download : HLSL FX File | Rendermonkey RFX Project


Colors, Lights & Materials

Ambient Color

Title : Ambient Color

Description : Simple Pixel Shader Ambient Material Example. (1 Technique, 1 Pass)

Download : HLSL FX File | Rendermonkey RFX Project

Diffuse Color

Title : Diffuse Color

Description : Simple Pixel Shader Diffuse Material Example. dot(N, L). (1 Technique, 1 Pass)

Download : HLSL FX File | Rendermonkey RFX Project

Specularity Color

Title : Specular Color

Description : Simple Pixel Shader Specular Material Example. (1 Technique, 1 Pass)

Download : HLSL FX File | Rendermonkey RFX Project

Ambient + Diffuse + Specular Color

Title : Ambient + Diffuse + Specular Color

Description : Ambient, Diffuse, Specular Material Combination Example. (1 Technique, 1 Pass)

Download : HLSL FX File | Rendermonkey RFX Project

Greyscale Color

Title : Greyscale Color

Description : Simple Pixel Shader Color to Greyscale Converter. (3 Techniques, 1 Pass each)

Download : HLSL FX File | Rendermonkey RFX Project

Greyscale Color

Title : Cook-Torrance Model

Description : Cook-Torrance Model with selectable Blinn or Beckham distribution in Pixel Shader. (1 Technique, 1 Pass)

Download : HLSL FX File | Rendermonkey RFX Project


Tools


Copyright Notice

Copyright (c) 2007 Özkan Can

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the “Software”), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

I thought what I'd do was, I'd pretend I was one of those deaf-mutes. That way I wouldn't have to have any goddam stupid useless conversations with anybody. If anybody wanted to tell me something, they'd have to write it on a piece of paper and shove it over to me. They'd get bored as hell doing that after a while, and then I'd be through with having conversations for the rest of my life.