Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBC] Emulating more advanced shader effects with specular

Author
Message
SFSW
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location:
Posted: 14th May 2008 02:27 Edited at: 14th May 2008 02:34
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.

Quick screenshot (although the effects can't be seen too well until the objects are moving):


Note: This requires the 1.2 version of DBC (labelled 1.14 in the editor)

Attachments

Login to view attachments
thedubdude
21
Years of Service
User Offline
Joined: 24th May 2003
Location: San Jose, Ca.
Posted: 16th May 2008 07:27
Please explain what DBC is and what is labeled 1.14 in what editor. Thanks.
SFSW
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location:
Posted: 16th May 2008 07:30 Edited at: 19th May 2008 23:49
DBC = DarkBasic Classic, 1.14 is the displayed version number (which is actually the 1.2 update) in the default editor.

Login to post a reply

Server time is: 2024-11-25 02:37:07
Your offset time is: 2024-11-25 02:37:07