VuoShader shader definitions.
Definition in file VuoShaderShaders.h.
Go to the source code of this file.
Functions | |
static VuoShader | VuoShader_makeDefaultShaderInternal (void) |
Helper for VuoShader_makeDefaultShader. More... | |
VuoShader | VuoShader_makeDefaultShader (void) |
Returns a shared instance of the default (unlit checkerboard) shader. More... | |
VuoShader | VuoShader_makeUnlitImageShader (VuoImage image, VuoReal alpha) |
Returns a shader that renders objects with an image (ignoring lighting). More... | |
VuoShader | VuoShader_makeUnlitAlphaPassthruImageShader (VuoImage image, bool flipped) |
Returns a shader that renders objects with an image (ignoring lighting). More... | |
VuoShader | VuoShader_makeGlTextureRectangleShader (VuoImage image, VuoReal alpha) |
Returns a shader that renders objects with an image (ignoring lighting). More... | |
VuoShader | VuoShader_makeGlTextureRectangleAlphaPassthruShader (VuoImage image, bool flipped) |
Returns a shader that renders objects with an image (ignoring lighting). More... | |
VuoShader | VuoShader_makeUnlitColorShader (VuoColor color) |
Returns a shader that renders a solid color . More... | |
VuoShader | VuoShader_makeUnlitCircleShader (VuoColor color, VuoReal sharpness) |
Returns a shader that renders a solid color circle. More... | |
VuoShader | VuoShader_makeUnlitCheckmarkShader (VuoColor color, VuoColor outline, float thickness) |
Returns a shader that renders a solid color checkmark with outline and outline thickness. More... | |
VuoShader | VuoShader_makeUnlitRoundedRectangleShader (VuoColor color, VuoReal sharpness, VuoReal roundness, VuoReal aspect) |
Returns a shader that renders a solid color rounded rectangle. More... | |
VuoShader | VuoShader_makeUnlitRoundedRectangleTrackShader (VuoColor backgroundColor, VuoColor activeColor, VuoReal sharpness, VuoReal roundness, VuoReal aspect, VuoBoolean isHorizontal, VuoReal value) |
Returns a shader that renders a solid color rounded rectangle with a split color based on value. More... | |
VuoShader | VuoShader_makeLitColorShader (VuoColor diffuseColor, VuoColor highlightColor, VuoReal shininess) |
Returns a shader that renders a color with lighting. More... | |
VuoShader | VuoShader_makeLitImageShader (VuoImage image, VuoReal alpha, VuoColor highlightColor, VuoReal shininess) |
Returns a shader that renders an image with lighting. More... | |
VuoShader | VuoShader_makeLitImageDetailsShader (VuoImage image, VuoReal alpha, VuoImage specularImage, VuoImage normalImage) |
Returns a shader that renders an image with lighting and surface details. More... | |
VuoShader | VuoShader_makeLinearGradientShader (void) |
Returns a linear gradient shader. More... | |
static void | VuoShader_setGradientStrip (VuoShader shader, VuoList_VuoColor colors) |
Creates a gradient strip texture, and sets shader uniforms. More... | |
void | VuoShader_setLinearGradientShaderValues (VuoShader shader, VuoList_VuoColor colors, VuoPoint2d start, VuoPoint2d end, VuoReal aspect, VuoReal noiseAmount) |
Sets parameters for the linear gradient shader using the provided colors and start and end coordinates. More... | |
VuoShader | VuoShader_makeRadialGradientShader (void) |
Returns a radial gradient shader. More... | |
void | VuoShader_setRadialGradientShaderValues (VuoShader shader, VuoList_VuoColor colors, VuoPoint2d center, VuoReal radius, VuoReal width, VuoReal height, VuoReal noiseAmount) |
Sets parameters for the radial gradient shader using the provided colors, center point, and radius. More... | |
VuoShader | VuoShader_makeFrostedGlassShader (void) |
Returns a frosted glass shader. More... | |
void | VuoShader_setFrostedGlassShaderValues (VuoShader shader, VuoColor color, VuoReal brightness, VuoPoint2d noisePosition, VuoReal noiseTime, VuoReal noiseAmount, VuoReal noiseScale, VuoReal chromaticAberration, VuoInteger levels, VuoReal roughness, VuoReal spacing, VuoInteger iterations, float aspectRatio) |
Sets parameters for the frosted glass shader. More... | |
Variables | |
static const char * | defaultVertexShaderSourceForGeometryShader |
Projects position , and provides an unprojected position , used for triangulation. More... | |
static const char * | lightingVertexShaderSource |
A linear-projection vertex shader. More... | |
static const char * | lightingVertexShaderSourceForGeometry |
A linear-projection vertex shader. More... | |
|
static |
Helper for VuoShader_makeDefaultShader.
Definition at line 36 of file VuoShaderShaders.h.
|
static |
Creates a gradient strip texture, and sets shader uniforms.
Definition at line 1177 of file VuoShaderShaders.h.
|
static |
Projects position
, and provides an unprojected position
, used for triangulation.
Definition at line 13 of file VuoShaderShaders.h.
|
static |
A linear-projection vertex shader.
Also builds a matrix that transforms between world coordinates and coordinates on a plane tangent to the surface.
Definition at line 886 of file VuoShaderShaders.h.
|
static |
A linear-projection vertex shader.
Also builds a matrix that transforms between world coordinates and coordinates on a plane tangent to the surface.
Definition at line 920 of file VuoShaderShaders.h.