Blender Git Commit Log

All Blender Git commits.

Page: 902 / 8462

February 21, 2021, 00:33 (GMT)
Cleanup: EEVEE: Rename variable named sample because ...

.. it's a reserved keyword on GL > 4.0.
February 21, 2021, 00:33 (GMT)
Cleanup: EEVEE: Rename aperture to cone angle when it make sense

Aperture for a cone is 2 times the cone angle.
February 21, 2021, 00:33 (GMT)
Cleanup: EEVEE: Use P and vP instead of worldPosition and viewPosition

... for local variables.
February 21, 2021, 00:33 (GMT)
Cleanup: EEVEE: Use P for world position instead of W

This removes the last places where this was not the case.

We follow cycles convention of P being for Postion.
February 21, 2021, 00:33 (GMT)
Cleanup: EEVEE: change cameraVec macro to cameraVec(P)

This makes is clearer and avoid having to setup worldPosition if
shader is not a material shader.
February 21, 2021, 00:33 (GMT)
EEVEE: Ambient Occlusion Node: Support inverted and distance parameters

This adds an approximation of inverted AO by reversing the max horizon
search (becoming a min horizon). The horizons are correctly clamped in
the reverse direction to the shading and geometric normals.

The arc integration is untouched as it seems to be symetrical.

The limitation of this technique is that since it is still screen-space
AO you don't get other hidden surfaces occlusion. This is more
problematic in the case of inverted AO than for normal AO but it's
better than no support AO.

Support of distance parameter was easy thanks to recent AO refactor.
February 21, 2021, 00:33 (GMT)
GPU: Add define to ouput more context lines for GLSL errors

This is work in progress, but it is very useful even as it is.
February 21, 2021, 00:33 (GMT)
GPU: Add RGB10_A2 format support

Nice format to output high definition normals or normalized colors.
February 21, 2021, 00:33 (GMT)
EEVEE: Planar Reflections: Fix regression

Fix regression with roughness not masking reflections when not using
Screen Space raytracing.

The trick was to only evaluate one planar per pixel, the one with
the most influence. This should not be too limiting since this is what
we do for SSR.

Also change evaluation order do not apply occlusion on planars probes.
February 21, 2021, 00:33 (GMT)
Cleanup: EEVEE: Remove SSR variant with AO

AO is always on in this case.
February 21, 2021, 00:33 (GMT)
EEVEE: Ambient Occlusion: Refactor

- Fix noise/banding artifact on distant geometry.
- Fix overshadowing on un-occluded surfaces at grazing angle producing "fresnel"
like shadowing. Some of it still appears but this is caused to the low number
of horizons per pixel.
- Improve performance by using a fixed number of samples and fixing the
sampling area size. A better sampling pattern is planned to recover
the lost precision on large AO radius.
- Improved normal reconstruction for the AO pass.
- Improve Bent Normal reconstruction resulting in less faceted look on
smoothed geometry.
- Add Thickness heuristic to avoid overshadowing of thin objects.
Factor is currently hardcoded.
- Add bent normal support to Glossy reflections.
- Change Glossy occlusion to give less light leaks from lightprobes.
It can overshadow on smooth surface but this should be mitigated by
using SSR.
- Use Bent Normal for rough Glossy surfaces.
- Occlusion is now correctly evaluated for each BSDF. However this does make
everything slower. This is mitigated by the fact the search is a lot faster
than before.
February 20, 2021, 23:59 (GMT)
Merge branch 'master' into geometry-nodes-mesh-primitives
February 20, 2021, 23:22 (GMT)
Merge branch 'master' into geometry-nodes-mesh-primitives
February 20, 2021, 21:05 (GMT)
BLI: cleanup StringRef and Span and improve parameter validation

Previously, methods like `Span.drop_front` would crash when more
elements would be dropped than are available. While this is most
efficient, it is not very practical in some use cases. Also other languages
silently clamp the index, so one can easily write wrong code accidentally.

Now, `Span.drop_front` and similar methods will only crash when n
is negative. Too large values will be clamped down to their maximum
possible value. While this is slightly less efficient, I did not have a case
where this actually mattered yet. If it does matter in the future, we can
add a separate `*_unchecked` method.

This should not change the behavior of existing code.
February 20, 2021, 19:06 (GMT)
LineArt: Remove missing flag in previous commit

February 20, 2021, 19:00 (GMT)
GPencil: Make curve - fix selection
February 20, 2021, 18:53 (GMT)
Merge branch 'master' into temp-gpencil-bezier-v2
February 20, 2021, 18:52 (GMT)
GPencil: Fix merge conflicts
February 20, 2021, 18:38 (GMT)
Merge branch 'master' into temp-gpencil-bezier-v2
February 20, 2021, 18:29 (GMT)
GPencil: Remove old Interpolate menu option

This option was before move this action as a tool.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021