Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/jsm/shaders/ACESFilmicToneMappingShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* The scale factor of 1/0.6 is subjective. See discussion in #19621.
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const ACESFilmicToneMappingShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/AfterimageShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Inspired by [Three.js FBO motion trails]{@link https://codepen.io/brunoimbrizi/pen/MoRJaN?page=1&}.
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const AfterimageShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/BasicShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Simple shader for testing.
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const BasicShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/BleachBypassShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* [Nvidia Shader library]{@link http://developer.download.nvidia.com/shaderlibrary/webpages/shader_library.html#post_bleach_bypass}.
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const BleachBypassShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/BlendShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Blends two textures.
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const BlendShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/BokehShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* [GLSL shader by Martins Upitis]{@link http://artmartinsh.blogspot.com/2010/02/glsl-lens-blur-filter-with-bokeh.html}.
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const BokehShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/BokehShader2.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
* Requires #define RINGS and SAMPLES integers
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const BokehShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/BrightnessContrastShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Contrast: -1 to 1 (-1 is solid gray, 0 is no change, and 1 is maximum contrast)
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const BrightnessContrastShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/ColorCorrectionShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
* Color correction shader.
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const ColorCorrectionShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/ColorifyShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
* Colorify shader.
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const ColorifyShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/ConvolutionShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
* Convolution shader ported from o3d sample to WebGL / GLSL.
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const ConvolutionShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/CopyShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Full-screen copy shader pass.
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const CopyShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/DOFMipMapShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Requires power-of-2 sized render target with enabled mipmaps.
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const DOFMipMapShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/DepthLimitedBlurShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
* Used by {@link SAOPass}.
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const DepthLimitedBlurShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/DigitalGlitch.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Digital glitch shader.
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const DigitalGlitch = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/DotScreenShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
* Dot screen shader based on [glfx.js sepia shader]{@link https://github.com/evanw/glfx.js}.
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const DotScreenShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/ExposureShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* TODO
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const ExposureShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/FXAAShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
* - {@link https://catlikecoding.com/unity/tutorials/advanced-rendering/fxaa/}.
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const FXAAShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/FilmShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Used by {@link FilmPass}.
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const FilmShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/FocusShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Focus shader based on [PaintEffect postprocess from ro.me]{@link http://code.google.com/p/3-dreams-of-black/source/browse/deploy/js/effects/PaintEffect.js}.
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const FocusShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/FreiChenShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
* aspect: vec2 of (1/width, 1/height)
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const FreiChenShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/GTAOShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
* - [Horizon-Based Indirect Lighting (HBIL)]{@link https://github.com/Patapom/GodComplex/blob/master/Tests/TestHBIL/2018%20Mayaux%20-%20Horizon-Based%20Indirect%20Lighting%20(HBIL).pdf}
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const GTAOShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/GammaCorrectionShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* - {@link http://en.wikipedia.org/wiki/gamma_correction}.
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const GammaCorrectionShader = {

Expand Down
6 changes: 3 additions & 3 deletions examples/jsm/shaders/GodRaysShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {
* - [Sousa2008, Crysis Next Gen Effects, GDC2008]{@link http://www.crytek.com/sites/default/files/GDC08_SousaT_CrysisEffects.ppt}.
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const GodRaysDepthMaskShader = {

Expand Down Expand Up @@ -77,7 +77,7 @@ const GodRaysDepthMaskShader = {
* decreased distance between samples.
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const GodRaysGenerateShader = {

Expand Down Expand Up @@ -201,7 +201,7 @@ const GodRaysGenerateShader = {
* fGodRayIntensity attenuates the god rays.
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const GodRaysCombineShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/HalftoneShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Blending Mode (1 = Linear, 2 = Multiply, 3 = Add, 4 = Lighter, 5 = Darker)
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const HalftoneShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/HorizontalBlurShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* - "h" and "v" parameters should be set to "1 / width" and "1 / height"
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const HorizontalBlurShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/HorizontalTiltShiftShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* - "r" parameter control where "focused" horizontal line lies
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const HorizontalTiltShiftShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/HueSaturationShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* saturation: -1 to 1 (-1 is solid gray, 0 is no change, and 1 is maximum contrast)
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const HueSaturationShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/KaleidoShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* angle: initial angle in radians
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const KaleidoShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/LuminosityHighPassShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
* Luminosity high pass shader.
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const LuminosityHighPassShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/LuminosityShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Luminosity shader.
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const LuminosityShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/MirrorShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* side: side of input to mirror (0 = left, 1 = right, 2 = top, 3 = bottom).
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const MirrorShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/NormalMapShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
/**
* Normal map shader, compute normals from heightmap.
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const NormalMapShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/OutputShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Used by {@link OutputPass}.
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const OutputShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/PoissonDenoiseShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
* - [Poisson2Sparse: Self-Supervised Poisson Denoising From a Single Image]{@link https://arxiv.org/pdf/2206.01856.pdf}
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const PoissonDenoiseShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/RGBShiftShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* angle: shift angle in radians
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const RGBShiftShader = {

Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/shaders/SAOShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
* Used by {@link SAOPass}.
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const SAOShader = {

Expand Down
6 changes: 3 additions & 3 deletions examples/jsm/shaders/SMAAShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
* SMAA Edges shader.
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const SMAAEdgesShader = {

Expand Down Expand Up @@ -129,7 +129,7 @@ const SMAAEdgesShader = {
* SMAA Weights shader.
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const SMAAWeightsShader = {

Expand Down Expand Up @@ -391,7 +391,7 @@ const SMAAWeightsShader = {
* SMAA Blend shader.
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const SMAABlendShader = {

Expand Down
4 changes: 2 additions & 2 deletions examples/jsm/shaders/SSAOShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
* - {@link https://github.com/McNopper/OpenGL/blob/master/Example28/shader/ssao.frag.glsl}
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const SSAOShader = {

Expand Down Expand Up @@ -192,7 +192,7 @@ const SSAOShader = {
* SSAO depth shader.
*
* @constant
* @type {Shader}
* @type {ShaderMaterial~Shader}
*/
const SSAODepthShader = {

Expand Down
Loading