Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-25Fix T85959 EEVEE: DOF with "Jitter Camera" brokenClément Foucault
Was caused by recent changes in window_translate_m4 by rBbb2af40ec7dd.
2021-02-25Cleanup: spellingCampbell Barton
2021-02-24Workbench: Fix typo in rB32ca8e58a374Clément Foucault
This was creating incorrectly occluded overlays.
2021-02-24Cleanup: CryptomatteLayer structure.Jeroen Bakker
Current implementation was to restricting for future enhancements where the CryptomatterLayer could be read from existing metadata.
2021-02-24Workbench: Fix samples taken outside of pixel footprintClément Foucault
With the previous implementation, we could have pixels with offset larger than 1 pixel. Also fix a bug when the closest_index is not last. The sample positions were incorrect in this case.
2021-02-24Fix T85726 Workbench: Orthographic view is blurryClément Foucault
This was caused by the window_translate_m4 not offsetting the winmat in the right direction for perspective view. Thus leading to incorrect weights. The workbench sample weight computation was also inverted. This fix will change the sampling pattern for EEVEE too (it will just mirror it in perspective view).
2021-02-24Cleanup: spellingCampbell Barton
2021-02-23Fix T85895: Viewing value passes in Image Editor displays the value as alphaPhilipp Oeser
There was a similar report prior to the introduction of the Image Engine, see T74586. This was fixed by rB6a5bd812b569 at that time, but got lost in the refactor it seems. Above commit introduced the `ED_space_image_get_display_channel_mask` function that will determine the valid bitflags for the display channel of a given ImBuf. But since the refactor, this is not called anymore (`draw_image_main` is not called anymore) Now it seems we can safely reuse that said function `ED_space_image_get_display_channel_mask` also for the Image Engine. Maniphest Tasks: T85895 Differential Revision: https://developer.blender.org/D10510
2021-02-22Fix T85609 EEVEE: Viewport "vibrates" when mouse input is activeClément Foucault
Taa offset was applied on first sample. This wasn't happening before DOF refactor. Also fixes T85618 Wireframe Displays Strangely in Eevee (Rendered, material Preview)
2021-02-22Fix T85720 EEVEE: Contact shadows do not appear when enabling SSRClément Foucault
Contact shadows needed correct `gl_FragCoord.z` but this is not correctly set for fullscreen passes. Need to pass depth using a global variable until we get rid of `cl_eval.tracing_depth`.
2021-02-21Fix T85714 Crash when Viewport Rending an image using EEVEE.Clément Foucault
Was caused by non initialized render_timesteps.
2021-02-21Fix T85603 EEVEE: Baking Indirect lighting crashes BlenderClément Foucault
Was caused by non initialized render_timesteps.
2021-02-21Cleanup: EEVEE: Rename variable named sample because ...Clément Foucault
.. it's a reserved keyword on GL > 4.0.
2021-02-21Cleanup: EEVEE: Rename aperture to cone angle when it make senseClément Foucault
Aperture for a cone is 2 times the cone angle.
2021-02-21Cleanup: EEVEE: Use P and vP instead of worldPosition and viewPositionClément Foucault
... for local variables.
2021-02-21Cleanup: EEVEE: Use P for world position instead of WClément Foucault
This removes the last places where this was not the case. We follow cycles convention of P being for Postion.
2021-02-21Cleanup: EEVEE: change cameraVec macro to cameraVec(P)Clément Foucault
This makes is clearer and avoid having to setup worldPosition if shader is not a material shader.
2021-02-21EEVEE: Ambient Occlusion Node: Support inverted and distance parametersClément Foucault
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.
2021-02-21GPU: Add RGB10_A2 format supportClément Foucault
Nice format to output high definition normals or normalized colors.
2021-02-21EEVEE: Planar Reflections: Fix regressionClément Foucault
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.
2021-02-21Cleanup: EEVEE: Remove SSR variant with AOClément Foucault
AO is always on in this case.
2021-02-21EEVEE: Ambient Occlusion: RefactorClément Foucault
- 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.
2021-02-20Cleanup: doxygen sectionsCampbell Barton
2021-02-19GPencil: Don't show only lines in draw modeAntonio Vazquez
As now is possible to use multiframe in Draw mode, the option to display only lines must be disabled.
2021-02-19Fix T85745: Render grease pencil with time offset modifier failsAntonio Vazquez
The problem was introduced fixing task T85035. As the frame was set again when render, if there was a time modifier, the frame was not remaped to the right frame number.
2021-02-18GPencil: Add missing edit lines in Multiframe modeAntonio Vazquez
When edit using Onion skin, the edit line was missing.
2021-02-18Fix T85769: Grease Pencil Fill option when drawing no longer worksAntonio Vazquez
The fill unclamped thickness value was not properly initialized for using with the new antialiasing. The error was introduced in commit 09f7c9385829
2021-02-18Merge branch 'blender-v2.92-release'Antonio Vazquez
2021-02-18GPencil: Fix unreported broken use only lines in multiframeAntonio Vazquez
This option was broken since the draw engine refactor and it was impossible to display only edit lines for multiframe mode.
2021-02-18Merge branch 'blender-v2.92-release'Philipp Oeser
2021-02-18Fix flashing eevee render passes in viewportPhilipp Oeser
Caused by rB85fe12071ad7. When looking at a render pass in viewport and move the camera, there's a "flash" effect in this AOVs test file: {F9753476} {F9753473} The cause seems to be that taa_current_sample when rendering (DRW_state_is_image_render()) is ok because it has been incremented in EEVEE_temporal_sampling_draw but taa_current_sample is wrong when we are not rendering. D10375 by Ulysse Martin (youle) with clang format changes. Reviewed By: jbakker, lichtwerk, also blessing from fclem Differential Revision: https://developer.blender.org/D10375
2021-02-17Cleanup: Abbreviate enums with 'UNSIGNED_' in the nameGermano Cavalcante
2021-02-17Cleanup: Fix typo errorAntonio Vazquez
2021-02-17Fix T80862: Small stroke opacity modulation is best done in the fragment shaderJamell Moore
To avoid anti-aliasing artifacts on GPencil strokes that have a size smaller than 1 the thickness is clamped and the opacity reduced. This was done in vertex shader but this had the side effect of causing strokes that go from large to small to fade across their lengths. **Solution** The opacity modulation has now been moved to the fragment shader as advised by Clément Foucault. The strokeThickness that was passed to the shader was clamped to prevent it from being too small so an additional unclamped thickness has been passed to the fragment to calculate the opacity modulation. Alternatively I could have chosen strokeThickness and clampedThickness but I decided against renaming the variables in the current code. Reviewed By: fclem Differential Revision: https://developer.blender.org/D10438
2021-02-17Cleanup: use edituv prefix for stretch area/angle dataCampbell Barton
2021-02-17Merge branch 'blender-v2.92-release'Campbell Barton
2021-02-17Fix T85680: Crash displaying UV stretch/area with modifiersCampbell Barton
This uses the same logic as drawing UV's, where non-bmesh defaults to mesh.
2021-02-17Cleanup: spellingCampbell Barton
2021-02-17Cleanup: pass scene as constCampbell Barton
2021-02-16Cleanup: spellingCampbell Barton
2021-02-16Workbench: Improve AntiAliasing samplingJeroen Bakker
This improves stability and convergence speed of Workbench Temporal AntiAliasing. This adds a filtering kernel (blackmann-haris, same as EEVEE/Cycles) to the temporal antialiasing sampling. We also gather neighbor pixels since they might end up in the pixel footprint. We use a 1px radius for the filter window which is a bit less than the 1.5 default of cycles and EEVEE since it does blur quite a bit more than what we have now. Another improvement is that the filtering is now in log space which improves AntiAliasing around highlights. Theses improvement may not be very useful for every day case but it was an experiment to try to make TAA usable for GPencil. Test file used : {F9798807} |filtered+logspace|filtered|original| |{F9798847}|{F9798848}|{F9798849}| Reviewed By: jbakker Differential Revision: https://developer.blender.org/D10414
2021-02-15Merge branch 'blender-v2.92-release'Falk David
2021-02-15Fix T85499: Crash on switching to edit mode with uv editor openFalk David
A fix for T83187 (rBf83aa830) assumed in the overlay code of the uv editor that the object was a mesh when it did not have to be - causing a crash. The fix makes sure that the object is a mesh. Reviewed By: jbakker, campbellbarton Maniphest Tasks: T85499, T85495 Differential Revision: https://developer.blender.org/D10369
2021-02-15Cleanup: Remove code duplication (merge error)Falk David
2021-02-15Cleanup: clang tidyJacques Lucke
2021-02-15Fix T85633: Misspelling of "neighborhood" in descriptionHans Goudey
2021-02-14Cleanup: spellingCampbell Barton
2021-02-14Cleanup: spellingCampbell Barton
2021-02-14Cleanup: Source Code Typosluzpaz
Corrects approximately 36 spelling errors in source variable names. Differential Revision: https://developer.blender.org/D10347 Reviewed by Hans Goudey
2021-02-13EEVEE: Change cubemap roughness fitClément Foucault
This changes the roughness mapping to better utilize the mip chain resolution. This improves glossy reflections with small roughness. Lightcache version bumped because old data does not have the same roughness mapping and cannot be used.