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
1 change: 1 addition & 0 deletions examples/jsm/objects/ReflectorForSSRPass.js
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@ ReflectorForSSRPass.ReflectorShader = {
* @property {number} [clipBias=0] - The clip bias.
* @property {Object} [shader] - Can be used to pass in a custom shader that defines how the reflective view is projected onto the reflector's geometry.
* @property {boolean} [useDepthTexture=true] - Whether to store depth values in a texture or not.
* @property {Vector2} [resolution] - Resolution for the Reflector Pass.
**/

export { ReflectorForSSRPass };
2 changes: 1 addition & 1 deletion examples/jsm/tsl/display/AnamorphicNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class AnamorphicNode extends TempNode {
/**
* The resolution scale.
*
* @type {float}
* @type {number}
*/
this.resolutionScale = 1;

Expand Down
6 changes: 3 additions & 3 deletions examples/jsm/tsl/display/GaussianBlurNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class GaussianBlurNode extends TempNode {
* @param {number} sigma - Controls the kernel of the blur filter. Higher values mean a wider blur radius.
* @param {Object} [options={}] - Additional options for the gaussian blur effect.
* @param {boolean} [options.premultipliedAlpha=false] - Whether to use premultiplied alpha for the blur effect.
* @param {Vector2} [options.resolution=new Vector2(1, 1)] - The resolution of the effect. 0.5 means half the resolution of the texture node.
* @param {number} [options.resolutionScale=1] - The resolution of the effect. 0.5 means half the resolution of the texture node.
*/
constructor( textureNode, directionNode = null, sigma = 4, options = {} ) {

Expand Down Expand Up @@ -110,7 +110,7 @@ class GaussianBlurNode extends TempNode {
/**
* The resolution scale.
*
* @type {float}
* @type {number}
* @default (1)
*/
this.resolutionScale = options.resolutionScale || 1;
Expand Down Expand Up @@ -353,7 +353,7 @@ export default GaussianBlurNode;
* @param {number} sigma - Controls the kernel of the blur filter. Higher values mean a wider blur radius.
* @param {Object} [options={}] - Additional options for the gaussian blur effect.
* @param {boolean} [options.premultipliedAlpha=false] - Whether to use premultiplied alpha for the blur effect.
* @param {Vector2} [options.resolution=new Vector2(1, 1)] - The resolution of the effect. 0.5 means half the resolution of the texture node.
* @param {number} [options.resolutionScale=1] - The resolution of the effect. 0.5 means half the resolution of the texture node.
* @returns {GaussianBlurNode}
*/
export const gaussianBlur = ( node, directionNode, sigma, options = {} ) => nodeObject( new GaussianBlurNode( convertToTexture( node ), directionNode, sigma, options ) );
Expand Down
Loading