Mapped Lambert and Mapped Blinn Dx9 materials

About Truespace Archives

These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.

They are retained here for archive purposes only.

Mapped Lambert and Mapped Blinn Dx9 materials // The Garage

1  |  

Post by Jack Edwards // Jul 25, 2008, 6:40pm

Jack Edwards
Total Posts: 4062
pic
These didn't make it into the 7.6 release so I'm releasing them for free here.

Here's what the Lambert shader looks like:
13433

Here's what the Blinn shader looks like:
13434

You can get at the different channels of the material via the aspect menu:
13435
Each channel takes it's own texture map and can be UV offset or scaled.

Hope you guys find these useful. Note that I haven't compiled these, so you can dig down inside them to see the HLSL script and how the shaders work and use them as templates from which to build your own shaders.

Post by Jack Edwards // Jul 25, 2008, 6:49pm

Jack Edwards
Total Posts: 4062
pic
I didn't set up defaults for the texture maps so you'll also want these solid color maps. You can of course make your own using any paint program. ;)

13441134421344313444
(To save them, just right click on the image and save it to the texture directory of your choice.)

The Grey, White, and Black are self explanatory. The Blue one is used for the normal map and is a flat normal map. Note that normal maps are directional vectors stored as a bitmap so you'll need to convert your bump maps to normal maps before they will work with this material.

13445
The checker is useful with the Mapped Lambert material to check for UV distortion.

To load a texture into any of the channels for the material, just CTRL click on the square for the map and a windows file open dialog will pop up. If you guys have any questions about how to use these materials feel free to ask.

Post by kena // Jul 25, 2008, 8:02pm

kena
Total Posts: 2321
pic
Thank you Jack. I've downloaded them and put them in my libraries1

Post by Jack Edwards // Jul 25, 2008, 8:38pm

Jack Edwards
Total Posts: 4062
pic
Welcome, Kena! :)

Post by RAYMAN // Jul 25, 2008, 9:59pm

RAYMAN
Total Posts: 1496
pic
Thank you Jack !

Very usefull !;)

Peter
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn