Skip to content

Commit

Permalink
docs: update mesh-reflector-material.mdx (#2349)
Browse files Browse the repository at this point in the history
  • Loading branch information
davcri authored Feb 13, 2025
1 parent 63d175f commit 9fc4fd0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions docs/shaders/mesh-reflector-material.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,6 @@ Easily add reflections and/or blur to any mesh. It takes surface roughness into
depthToBlurRatioBias={0.25} // Adds a bias factor to the depthTexture before calculating the blur amount [blurFactor = blurTexture * (depthTexture + bias)]. It accepts values between 0 and 1, default is 0.25. An amount > 0 of bias makes sure that the blurTexture is not too sharp because of the multiplication with the depthTexture
distortion={1} // Amount of distortion based on the distortionMap texture
distortionMap={distortionTexture} // The red channel of this texture is used as the distortion map. Default is null
debug={0} // Depending on the assigned value, one of the following channels is shown:
//0 = no debug
//1 = depth channel
//2 = base channel
//3 = distortion channel
//4 = lod channel (based on the roughness)
//
reflectorOffset={0.2} // Offsets the virtual camera that projects the reflection. Useful when the reflective surface is some distance from the object's origin (default = 0)
/>
</mesh>
Expand Down

0 comments on commit 9fc4fd0

Please sign in to comment.