import {CombineMaterial} from 'postprocessing/src/materials/CombineMaterial.js'
CombineMaterial
Extends:
three~ShaderMaterial → CombineMaterial
A material for combining two textures.
This material supports the two blend modes Add and Screen.
In Screen mode, the two textures are effectively projected on a white screen simultaneously. In Add mode, the textures are simply added together which often produces undesired, washed out results.
Constructor Summary
Public Constructor | ||
public |
constructor(screenMode: Boolean) Constructs a new combine material. |
Member Summary
Public Members | ||
public |
|
Method Summary
Public Methods | ||
public |
setScreenModeEnabled(enabled: Boolean) Enables or disables the Screen blend mode. |