CodeBase - Emulating more advanced shader effects with specular

Return to the CodeBase listing

Category: 3D Effects

Version: 1.0

0
0

Information

Uploaded: 15th May 2008 12:42

Modified: 1st Jan 1970 01:00

Author:  SFSW

Summary

Using the specular shader in DBC to produce pixel-shader-like and surface texture effects.

Full Description

Examples show how to use multiple layers for an improved specular effect (using no pixel shaders, just the new fixed function specular shader, works on virtually any 3D card), allowing for tiled surfaces, shimmering light on rough textures (metal for example), along with high and low shine effects. Also illustrates how you can create mild light shifting from white when under direct light, to a softer color when at an angle, to the original color of the surface being reflected. Use the arrow keys to move the center sphere around so it's easier to see the shimmering, the golden shimmer at the edges of the full light level. Media and source is included in the attached ZIP.

Comments

No comments yet.