Wings3D viewport shader
Posted: 20 Feb 2015, 00:28
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:
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.. ;)
The shader renders normal maps, specular lighting and rim light for funsies.
Here's an example:
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.. ;)