r19
- Examples
- Updated dependencies
- Updated browser support check
- House cleaning
- Config
- Simplified
Device
andwebgl
check no-longer callsWEBGL_lose_context
.
- Simplified
- Loaders
- Updated
TextureLoader
with caching support. - Added
SpherizeTextureLoader
andSphericalCubeTextureLoader
for simulating an equirectangular image from a regular texture. - Added
EnvironmentTextureLoader
for generating an environment diffuse texture with PMREMGenerator. - Added
BufferGeometryLoader
andBufferGeometryLoaderThread
for loading .json files exported with BufferGeometry.toJSON (requiresposition
,normal
anduv
attributes). - Added
TextGeometryLoader
andTextGeometryLoaderThread
for loading MSDF assets exported with msdf-bmfont.
- Updated
- Utils
- Updated
Component
with improvedObject3D
detection. - Updated
Interface
with SVG support plusline()
andload()
methods. - Updated
Tween
with support for GSAP's updateRoot(). - Renamed
getConstructorName()
togetConstructor()
which now returns an object with properties forname
,code
andisInstance
. - Readded
queryString()
helper function. - Readded additional math functions.
- Updated
- Audio
- Updated
WebAudioParam
withfade()
method. - Added
WebAudio3D
based on @mrdoob's AudioListener. - Added
Sound3D
based on @mrdoob's PositionalAudio with an option to use just stereo and gain by calculating the object's screen position and distance.
- Updated
- UIL
- Added helper classes and query string parameters to display the interface (
ui
) and orbit controls (orbit
). - Added
UIL
which manages the creation and addition of new uil groups. - Added
WorldUIL
with options for scene background color and tone mapping. - Added
CameraUIL
with a slider forlerpSpeed
. - Added
RenderUIL
with options forLuminosityMaterial
andBloomCompositeMaterial
. - Added
MeshStandardMaterialUIL
with options forcolor
,emissive
,roughness
,metalness
,flatShading
,wireframe
andenvMapIntensity
(work in progress, no image support yet).
- Added helper classes and query string parameters to display the interface (
- 3D
- Updated
getFullscreenTriangle()
with only two vertices. - Added
getSphericalCube()
helper function. - Added
getFrustum()
helper function. - Added
Wobble
for adding 3D movement with Perlin ImprovedNoise. - Added
Flowmap
based on @gordonnl's Mouse Flowmap from OGL. - Added
Reflector
based on @Slayvin's Reflector with fast Gaussian blur added (FastGaussianBlurMaterial
). - Added
SpherizeImage
based on the GEGL Spherize image processing operation in GIMP. - Added
TextGeometry
based on @gordonnl's MSDF Text Glyphs from OGL.
- Updated
- Materials
- Added
NormalMaterial
. - Added
ColorMaterial
. - Added
BasicMaterial
texture map. - Added
FlowMaterial
for use withFlowmap
. - Added
CopyMaterial
blit pass. - Added
FXAAMaterial
based on @mattdesl's FXAA v2. - Added
BadTVMaterial
based on @felixturner's Bad TV Shader. - Added
RGBMaterial
based on @felixturner's RGB Shift Shader. - Added
FilmGrainMaterial
based on @alteredq's Film grain & scanlines shader. - Added
FilmGrainFXAAMaterial
combination of bothFXAAMaterial
andFilmGrainMaterial
in one pass. - Added
BlurMaterial
9-tap Gaussian blur based on @zz85's Horizontal and vertical blur shaders. - Added
FastGaussianBlurMaterial
13-tap Gaussian blur based on @mattdesl's Fast Gaussian blur. - Added
LuminosityMaterial
based on @bhouston's Luminosity high pass shader. - Added
UnrealBloomBlurMaterial
based on @spidersharma03 and @bhouston's Unreal bloom pass seperable blur material. - Added
UnrealBloomCompositeMaterial
based on @spidersharma03 and @bhouston's Unreal bloom pass composite material. - Added
BloomCompositeMaterial
simplified version ofUnrealBloomCompositeMaterial
. - Added
SceneCompositeMaterial
for additive blending of a bloom composite texture. - Added
PoissonDiscBlurMaterial
12-tap Poisson disc blur based on @spite's Poisson disc blur pass from Wagner. - Added
CameraMotionBlurMaterial
based on @blaze33's Motion blur pass from DroneWorld. - Added
BokehBlurMaterial1
andBokehBlurMaterial2
based on battlebottle's DOOM 2016 Style DOF bokeh blur. - Added
ChromaticAberrationMaterial
based on battlebottle's DOOM 2016 Style DOF bokeh blur 2 Chromatic aberration pass. - Added
VideoGlitchMaterial
based on dyvoid's Video Glitch. - Added
DepthMaskMaterial
based on @vanruesc's DepthMaskMaterial from Post Processing. - Added
TextMaterial
based on @gordonnl's MSDF Text Glyphs from OGL.
- Added
- Shader modules
- Added
aastep
from @mattdesl's glsl-aastep. - Added
badtv
based on @felixturner's Bad TV Shader. - Added
blending
based on @vanruesc's blending functions from Post Processing. - Added
blur
shader modules (Gaussian, Poisson disc and Unreal bloom seperable blur). - Added
brightness-contrast
based on @spite's Brightness contrast pass from Wagner. - Added
conditionals
from glsl-conditionals. - Added
depth
functions based on @mattdesl's depth texture example. - Added
desaturate
from the Color saturation in GLSL thread. - Added
dither
based on hornet's Color Banding Removal. - Added
eases
from glsl-easings. - Added
fxaa
from @mattdesl's glsl-fxaa. - Added
hsv
functions from sam's Fast branchless RGB to HSV conversion in GLSL. - Added
noise
shader modules (Blue noise, glsl-noise and 2D noise functions). - Added
parabola
functions from Inigo Quilez. - Added
random
from @mattdesl's glsl-random. - Added
range
functions based on Active Theory's. - Added
rgbshift
based on @felixturner's RGB Shift Shader. - Added
spherize
based on the GEGL Spherize image processing operation in GIMP. - Added
transform
functions from Good's 2D Canvas with UI.
- Added
- Library
all
module entry point for materials and extra dependencies.