Wings3D viewport shader

Wings3D viewport shader

Share and discuss visual creations and creation practices like texturing, modelling and musing on the meaning of life.

Moderators: MR.D, Moderators

Post Reply
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Wings3D viewport shader

Post by rattle »

If there's still people around messing with Wings, I've worked on a viewport shader that replaces the Hemispherical Lighting shader that comes with it.

The shader renders normal maps, specular lighting and rim light for funsies.

Here's an example:
Image


Image

The shader takes diffuse and normal maps as inputs.
Material diffuse color gets applied as well.

Ambient now controls the color for the rim lighting and is ignored.
Specular controls the color of the specular highlights.
Shininess controls the intensity of the specularity as well as the rim lighting.

To disable rim or specular lighting set the respective colors to black.

At this moment it is not possible to use a spec map or any other maps or use additional lights because the program is very limited in what it exposes. Could possibly hardcode some custom lights...

Extract both files to ..\wings3d_1.5.3\lib\wings-1.5.3\shaders or what ever your version of Wings is and make a backup of the original shader if you want to.

I take no responsibility for any harm caused etc.. ;)
Attachments
shaders.zip
(3.01 KiB) Downloaded 31 times
Last edited by rattle on 21 Feb 2015, 02:34, edited 1 time in total.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Wings3D viewport shader

Post by smoth »

Image
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Re: Wings3D viewport shader

Post by rattle »

Image

I think it looks pretty good, not necessary but having a material similar to zbrush clay isn't bad.
Might add roughness / metallic by using the internal cube map later controlled by the emissive channel as a make shift slider..
Post Reply

Return to “Art & Modelling”