Releases: gkjohnson/three-gpu-pathtracer
Releases · gkjohnson/three-gpu-pathtracer
v0.0.3
M2020 Rover model courtesy of NASA JPL
Fixed
- Some black artifacts when rendering with depth of field.
DynamicPathTracingSceneGenerator.reset
not correctly resetting the class resulting in errors when calling "generate" again.
Changed
- Materials to use a texture instead of uniforms to cut down on max uniform errors.
SUPPORT_DOF
no longer needs to be explicitly set and will be toggled automatically based on the bokeh size parameter.- Removed direct support for environment blur with addition of MIS. Instead use
BlurredEnvMapGenerator
to preblur an environment map. - Antialiasing jitter is now performed per ray in the shader instead of via camera position jitter for improved AA.
GRADIENT_BG
define option toFEATURE_GRADIENT_BG
Added
- Support for "matte" material flag.
- Support for Multiple Importance Sampling for the envionment map and an associated "FEATURE_MIS" flag.
BlurredEnvMapGenerator
to blur environment maps.- Support for rendering transparent backgrounds.
Removed
- Support for gradient environment colors. Use a
DataTexture
, instead.
New Demo Features
- Physically Based Models & Material Ball demos
- Add support for toggling multiple importance sampling.
- Use EnvMapGenerator to blur the environment maps.
- Add support for setting background alpha.
- Add new environment map options.
- Add floor opacity slider.
- Add support for "matte" materials rendering as transparent.
v0.0.2
Added
- Support for material sidedness which must be set explicitly on the material uniforms. See
MaterialStructUniform.side
for more information. DynamicPathTracingSceneGenerator
to support skinned and morph target meshes.- A
PhysicalCamera
instance and associated shader uniforms and updates to support camera depth of field and shaped bokeh. PathTracingSceneWorker
as separate from the synchronousPathTracingSceneGenerator
to support more build processes.- Support for morph target, skinned meshes to scene generators.
Changed
PhysicalPathTracingMaterial
to have a "bounces" uniform rather than define.PathTracingSceneGenerator
is now synchronous.
Fixed
- Case where material arrays did not work correctly.