v7.0.0-alpha.4
Pre-release
Pre-release
Requires three β₯ 0.163.0 < 0.164.0
What's Changed π°
- Resolution: Added
set
method. - Optimized RegExps. See 0f4ad3e.
- Fixed metalness. See cdd1558 and #617.
- GeometryPass: Removed
updateMaterials
. Materials will now be updated automatically. - ShaderChunkExtensions
- Moved functions from
pp_depth_utils_pars_fragment
topp_camera_pars_fragment
. - Simplified
getViewPosition()
andgetViewZ()
. - Added
pp_world_utils_pars_fragment
.
- Moved functions from
- FullscreenMaterial: Added camera
viewMatrix
andviewMatrixInverse
uniforms.- To use the camera view matrix, add
uniform mat4 viewMatrix;
to your shader. - To calculate the world position, use
#include <pp_world_utils_pars_fragment>
- To use the camera view matrix, add
- FullscreenMaterial: Set
LOG_DEPTH
. See 4d1a7ad. - Added
GData.POSITION
(view position) and added a way to declareGData
interdependencies. See 7c7803a. - Adjusted
FXAAEffect
to usegData.luminance
. - Fixed a bug in the GData usage detection. See 05f3a91.
- Fixed
pp_depth_buffer_precision_pars_fragment
. See 87bf99c. - Updated the manual styles.
Full Changelog: v7.0.0-alpha.3...v7.0.0-alpha.4