FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
Static Public Member Functions | Static Public Attributes | List of all members
Wizt::Shaders Struct Reference

Static Public Member Functions

static std::string Phong ()
 Implements phong shading, defining a GLSL function of the signature.
 
static std::string Ortho ()
 

Static Public Attributes

static const char Ortho_glsl []
 

Member Function Documentation

◆ Phong()

std::string Wizt::Shaders::Phong ( )
static

Implements phong shading, defining a GLSL function of the signature.

vec4 Phong(vec3 N,
vec4 DiffuseColor,
float shininess,
float sidedness);
An iterator with an optional DataCreator, which is just a class to intercept creation of data along a...
Definition CreativeIterator.hpp:34
static std::string Phong()
Implements phong shading, defining a GLSL function of the signature.
Definition ShaderCodes.cpp:7

sidedness expresses a value [-1.0,+1.0] telling how to weight which side of a surface. 0.0 is symmetric, +1.0 is enlightening only the front side.

Referenced by Wizt::Phong::PhongShaderFunction().