v5.1.0
Requires three
≥ 0.87.0 ≤ 0.97.0
🎃 Halloween Release 👻
Changelog
Passes
- Added
NormalPass
for convenient scene normal rendering. - Added
DepthPass
for convenient depth rendering.
Effects
- Added
SSAOEffect
🔅 - Effect
- Removed an incorrect depth conversion. See 6af42d6. 💀
- Effects with the
DEPTH
EffectAttribute
no longer have to use the depth information in their main fragment shader. - Added
Effect.setDepthTexture(texture, depthPacking)
. Effects may override this method if they require direct access to the depth texture that is bound to the associatedEffectPass
.
- Improved
ChromaticAberrationEffect
,SMAAEffect
,GlitchEffect
andOutlineEffect
.
Materials
- EffectMaterial
- Renamed
setResolution
tosetSize
.
- Renamed