DepthDownsamplingMaterial
Extends:
three~ShaderMaterial → DepthDownsamplingMaterial
A depth downsampling shader material.
Based on an article by Eleni Maria Stea: https://eleni.mutantstargoat.com/hikiko/depth-aware-upsampling-6
Constructor Summary
Public Constructor | ||
public |
Constructs a new depth downsampling material. |
Member Summary
Public Members | ||
public get |
The depth packing of the source depth buffer. |
|
public set |
Sets the depth packing. |
|
public |
|
Method Summary
Public Methods | ||
public |
setTexelSize(x: Number, y: Number) Sets the texel size. |