Vuo
1.2.1
|
VuoShader shader definitions.
Functions | |
static VuoShader | VuoShader_makeDefaultShaderInternal (void) |
Helper for VuoShader_makeDefaultShader. | |
VuoShader | VuoShader_makeDefaultShader (void) |
Returns a shared instance of the default (unlit checkerboard) shader. | |
VuoShader | VuoShader_makeUnlitImageShader (VuoImage image, VuoReal alpha) |
Returns a shader that renders objects with an image (ignoring lighting). | |
VuoShader | VuoShader_makeUnlitAlphaPassthruImageShader (VuoImage image, bool flipped) |
Returns a shader that renders objects with an image (ignoring lighting). | |
VuoShader | VuoShader_makeGlTextureRectangleShader (VuoImage image, VuoReal alpha) |
Returns a shader that renders objects with an image (ignoring lighting). | |
VuoShader | VuoShader_makeGlTextureRectangleAlphaPassthruShader (VuoImage image, bool flipped) |
Returns a shader that renders objects with an image (ignoring lighting). | |
VuoShader | VuoShader_makeUnlitColorShader (VuoColor color) |
Returns a shader that renders a solid color . | |
VuoShader | VuoShader_makeUnlitCircleShader (VuoColor color, VuoReal sharpness) |
Returns a shader that renders a solid color circle. | |
VuoShader | VuoShader_makeUnlitRoundedRectangleShader (VuoColor color, VuoReal sharpness, VuoReal roundness, VuoReal aspect) |
Returns a shader that renders a solid color rounded rectangle. | |
VuoShader | VuoShader_makeLitColorShader (VuoColor diffuseColor, VuoColor highlightColor, VuoReal shininess) |
Returns a shader that renders a color with lighting. | |
VuoShader | VuoShader_makeLitImageShader (VuoImage image, VuoReal alpha, VuoColor highlightColor, VuoReal shininess) |
Returns a shader that renders an image with lighting. | |
VuoShader | VuoShader_makeLitImageDetailsShader (VuoImage image, VuoReal alpha, VuoImage specularImage, VuoImage normalImage) |
Returns a shader that renders an image with lighting and surface details. | |
VuoShader | VuoShader_makeLinearGradientShader (VuoList_VuoColor colors, VuoPoint2d start, VuoPoint2d end, VuoReal noiseAmount) |
Returns a shader that renders a linear gradient using the provided colors and start and end coordinates. | |
VuoShader | VuoShader_makeRadialGradientShader (VuoList_VuoColor colors, VuoPoint2d center, VuoReal radius, VuoReal width, VuoReal height, VuoReal noiseAmount) |
Returns a shader that renders a radial gradient using the provided colors, center point, and radius. | |
VuoShader | VuoShader_makeFrostedGlassShader (void) |
Returns a frosted glass shader. | |
void | VuoShader_setFrostedGlassShaderValues (VuoShader shader, VuoColor color, VuoReal brightness, VuoReal noiseTime, VuoReal noiseAmount, VuoReal noiseScale, VuoReal chromaticAberration, VuoInteger iterations) |
Sets parameters for the frosted glass shader. | |
Variables | |
static const char * | defaultVertexShaderSourceForGeometryShader |
Projects position , and provides an unprojected position , used for triangulation. | |
static const char * | lightingVertexShaderSource |
A linear-projection vertex shader. | |
static const char * | lightingVertexShaderSourceForGeometry |
A linear-projection vertex shader. | |
|
static |
Helper for VuoShader_makeDefaultShader.
|
static |
Projects position
, and provides an unprojected position
, used for triangulation.
|
static |
A linear-projection vertex shader.
Also builds a matrix that transforms between world coordinates and coordinates on a plane tangent to the surface.
|
static |
A linear-projection vertex shader.
Also builds a matrix that transforms between world coordinates and coordinates on a plane tangent to the surface.