Package | Description |
---|---|
thothbot.parallax.core.client.renderers |
Here is located WebGL renderer.
|
thothbot.parallax.core.client.shaders |
Here are all shaders and shader's related code.
|
thothbot.parallax.core.shared.materials |
Here are all Materials used for the Geometric Objects.
|
thothbot.parallax.plugins.lensflare.shaders |
Shaders used in Lens flare plugin
|
thothbot.parallax.plugins.postprocessing |
Postprocessing plugin
|
thothbot.parallax.plugins.postprocessing.shaders |
Shaders used in postrocessing plugin
|
thothbot.parallax.plugins.sprite.shaders |
Shaders used in Sprite plugin
|
Modifier and Type | Field and Description |
---|---|
java.util.Map<java.lang.String,Shader> |
WebGLRenderer._programs |
Modifier and Type | Method and Description |
---|---|
void |
WebGLRenderer.renderBufferImmediate(GeometryObject object,
Shader program,
Material material) |
Modifier and Type | Class and Description |
---|---|
class |
BasicShader
Basic shader.
|
class |
CubeShader
CubeGeometry map shader.
|
class |
DashedShader |
class |
DepthRGBAShader
Depth encoding into RGBA texture.
|
class |
DepthShader
Simple depth shader.
|
class |
FresnelShader
Fresnel shader.
|
class |
LambertShader
Lambert shader.
|
class |
NormalMapShader
Normal map shader
- Blinn-Phong - normal + diffuse + specular + AO + displacement + reflection + shadow maps - point and directional lights (use with "lights: true" material option) Based on three.js code. |
class |
NormalShader
Normal shader.
|
class |
ParticleBasicShader
Simple Particle shader.
|
class |
PhongShader
Phong shading - lighting model three-dimensional objects,
including models and polygonal primitives.
|
Modifier and Type | Method and Description |
---|---|
Shader |
Shader.buildProgram(WebGLRenderingContext gl) |
Shader |
Shader.buildProgram(WebGLRenderingContext gl,
boolean useVertexTexture,
int maxMorphTargets,
int maxMorphNormals) |
Modifier and Type | Method and Description |
---|---|
Shader |
Material.buildShader(WebGLRenderingContext gl,
ProgramParameters parameters) |
Shader |
ShaderMaterial.getAssociatedShader() |
Shader |
PointCloudMaterial.getAssociatedShader() |
Shader |
MeshPhongMaterial.getAssociatedShader() |
Shader |
MeshNormalMaterial.getAssociatedShader() |
Shader |
MeshLambertMaterial.getAssociatedShader() |
Shader |
MeshFaceMaterial.getAssociatedShader() |
Shader |
MeshDepthMaterial.getAssociatedShader() |
Shader |
MeshBasicMaterial.getAssociatedShader() |
Shader |
LineDashedMaterial.getAssociatedShader() |
Shader |
LineBasicMaterial.getAssociatedShader() |
Shader |
Material.getShader() |
Modifier and Type | Method and Description |
---|---|
void |
Material.setShader(Shader shader) |
Constructor and Description |
---|
ShaderMaterial(Shader shader) |
Modifier and Type | Class and Description |
---|---|
class |
LensFlareShader |
class |
LensFlareVertexTextureShader |
Constructor and Description |
---|
ShaderPass(Shader shader) |
ShaderPass(Shader shader,
java.lang.String textureID) |
Modifier and Type | Class and Description |
---|---|
class |
BleachBypassShader
|
class |
BlendShader
Blend two textures
Based on three.js code
|
class |
BokehShader
Depth-of-field shader with bokeh
Based on three.js code
Ported from GLSL shader by Martins Upitis artmartinsh.blogspot.com |
class |
BrightnessContrastShader
Brightness and contrast adjustment
github.com
Based on three.js code
brightness: -1 to 1 (-1 is solid black, 0 is no change, and 1 is solid white)
contrast: -1 to 1 (-1 is solid gray, 0 is no change, and 1 is maximum contrast)
|
class |
ColorCorrectionShader
Color correction
Based on three.js code.
|
class |
ColorifyShader
Colorify shader
Based on three.js code
|
class |
ConvolutionShader
Convolution shader
Based on three.js code
Ported from o3d sample to WebGL / GLSL o3d.googlecode.com
|
class |
CopyShader
Full-screen textured quad shader
Based on three.js code
|
class |
DOFMipMapShader
Depth-of-field shader using mipmaps
requires power-of-2 sized render target with enabled mipmaps
Based on three.js code
From Matt Handley \@applmak |
class |
DotScreenShader
Dot screen shader
Based on three.js code
Based on glfx.js sepia shader github.com/evanw/glfx.js |
class |
FilmShader
Film grain & scanlines shader
Based on three.js code
Ported from HLSL to WebGL / GLSL truevision3d.com Screen Space Static Postprocessor Produces an analogue noise overlay similar to a film grain / TV static Original implementation and noise algorithm Pat 'Hawthorne' Shearon Optimized scanlines + noise version with intensity scaling Georg 'Leviathan' Steinrohder |
class |
FocusShader
Focus shader
Based on three.js code
Based on PaintEffect postprocess from ro.me code.google.com/p/3-dreams-of-black |
class |
FXAAShader
NVIDIA FXAA by Timothy Lottes
timothylottes.blogspot.com
WebGL port by \@supereggbert www.glge.org
Based on three.js code
|
class |
HorizontalBlurShader
Two pass Gaussian blur filter (horizontal and vertical blur shaders)
Described in gamerendering.com
and used in www.cake23.de.
|
class |
HorizontalTiltShiftShader
Simple fake tilt-shift effect, modulating two pass Gaussian blur (see above) by vertical position
Based on three.js code
9 samples per pass
standard deviation 2.7
"h" parameters should be set to "1 / width" and "1 / height"
"r" parameter control where "focused" horizontal line lies
|
class |
HueSaturationShader
Hue and saturation adjustment
github.com
Based on three.js code
hue: -1 to 1 (-1 is 180 degrees in the negative direction, 0 is no change, etc.)
|
class |
LuminosityShader
Luminosity
wikipedia.org
Based on three.js code
|
class |
SepiaShader
Sepia tone shader
Based on glfx.js sepia shader github.com/evanw/glfx.js
Based on three.js code
|
class |
SSAOShader
Screen-space ambient occlusion shader
Ported from SSAO GLSL shader v1.2.
|
class |
TriangleBlurShader
Triangle blur shader
Based on glfx.js triangle blur shader github.com
Based on three.js code
A basic blur filter, which convolves the image with a
pyramid filter.
|
class |
UnpackDepthRGBAShader
Unpack RGBA depth shader
Show RGBA encoded depth as monochrome color.
|
class |
VerticalBlurShader
Two pass Gaussian blur filter (horizontal and vertical blur shaders)
Described in gamerendering.com
and used in cake23.de
Based on three.js code
9 samples per pass
standard deviation 2.7
"h" and "v" parameters should be set to "1 / width" and "1 / height"
|
class |
VerticalTiltShiftShader
Simple fake tilt-shift effect, modulating two pass Gaussian blur (see above) by vertical position.
|
class |
VignetteShader
Vignette shader
Based on PaintEffect postprocess from ro.me code.google.com/p/3-dreams-of-black
Based on three.js code
|
Modifier and Type | Class and Description |
---|---|
class |
SpriteShader |