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
2019-10-29Fix T69468 EEVEE: Collections Holdout Button in Outliner Is IgnoredClément Foucault
Not the cleanest implementation but the simplest. This doubles the number of default shader variations.
2019-10-29Fix strict compiler warningSergey Sharybin
Implicit function declaration caused by missing include in the recent fix.
2019-10-29Fix T70091 EEVEE: volumetric broken, not refreshClément Foucault
Thanks @mano-wii for finding the fix.
2019-10-29Fix T71050 EEVEE: Light Path Node broken in 2.81Clément Foucault
Also fixes the sampling of hashed shadows.
2019-10-29Fix T71062 EEVEE: Holdout shader is broken in 2.81Clément Foucault
2019-10-17Fix T70811 EEVEE: Alpha clip/hashed cause wrong alpha valuesClément Foucault
Was caused by division not giving a fully opaque alpha value.
2019-10-16Fix T70249 EEVEE: Light bleeding on SSS translucencyClément Foucault
This was caused by 2 things: Shadow map bias and aliasing. It made the expected depth of the shadowmap further than the surface itself in some cases. In normal time this leads to light leaking on normal shadow mapping but here we need to always have the shadowmap depth above the shading point. To fix this, we use a 5 tap inflate filter using the minimum depth of all 5 samples. Using these 5 taps, we can deduce entrance surface derivatives and there orientation towards the light ray. We use these derivatives to bias the depth to avoid wrong depth at depth discontinuity in the shadowmap. This bias can lead to some shadowleaks that are less distracting than the lightleaks it fixes. We also add a small bias to counteract the shadowmap depth precision.
2019-10-09Fix T70640 EEVEE: Alpha hashed material is darker when alpha is not 1.0Clément Foucault
Predivide all radiance components as the alpha effect comes from the hashed transparency (pixel rejection).
2019-10-07Fix T67753 EEVEE: Crash using transparent shadows with default materialClément Foucault
2019-10-04GPU: Platform Support LevelJeroen Bakker
Adds a check when starting blender if your platform is supported. We use a blacklist as drivers are updated more regular then blender (stable releases). The mechanism detects if the support level changed or has been validated by the user previously. Changes can happen due to users updating their drivers, but also when we change the support level in our code base. When the user has seen the limited support level message it is saved in the user config. It would be better to have a system specific config section, but currently not clear what could benefit from that. When the platform is unsupported or has limited support a dialog box will appear including a link to our user manual describing what to do. **Windows** Windows uses the MessageBox that is provided by the windows kernel. **X11** We use a very lowlevel messagebox for X11. It is very limited in use and can be fine tuned when needed. **SDL/APPLE** There is no implementation for SDL or APPLE at this moment as the platform support feature targets mostly Windows users. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5955
2019-10-03Cleanup: unused structs, struct membersCampbell Barton
2019-09-23Cleanup: remove unimplemented texture space rotation variablesBrecht Van Lommel
2019-09-19Cleanup: spellingCampbell Barton
2019-09-17Fix T69809, T69810: sculpt gone or crashing after renderBrecht Van Lommel
Make a distinction between flush sculpt changes for rendering, and forcing sculpt data structures to be rebuilt after mesh changes. Also don't use PBVH for renders.
2019-09-17DRW: Refactor to support draw call batchingClément Foucault
Reviewers: brecht Differential Revision: D4997
2019-09-16Fix eevee volumetrics distribution at 1.0Philipp Oeser
reported in T69662 Reviewers: fclem Differential Revision: https://developer.blender.org/D5809
2019-09-14Revert "DRW: Refactor to support draw call batching"Clément Foucault
This reverts commit ce34a6b0d727bbde6ae373afa8ec6c42bc8980ce.
2019-09-13DRW: Refactor to support draw call batchingClément Foucault
Reviewers: brecht Differential Revision: D4997
2019-09-11Depsgraph: Pass bmain to depsgraph object creationSergey Sharybin
Currently unused, but will allow to keep of an owner of the depsgraph. Could also simplify other APIs in the future by avoiding to pass bmain explicitly to relation update functions and things like that.
2019-09-10EEVEE: Volume: Fix error in fallback integration algoClément Foucault
2019-09-10EEVEE: Volume: Speedup: Use Image load store extensionClément Foucault
Reviewed By: brecht Differential Revision: https://developer.blender.org/D5740
2019-09-09Cleanup: trailing space, remove tabs, pep8Campbell Barton
2019-09-09UI: Format Memory Strings in BinaryHarley Acheson
Show all memory-related byte size strings calculated with a base of 1024. Differential Revision: https://developer.blender.org/D5714 Reviewed by Brecht Van Lommel
2019-09-07Cleanup: use post increment/decrementCampbell Barton
When the result isn't used, prefer post increment/decrement (already used nearly everywhere in Blender).
2019-09-07Cleanup: style, spellingCampbell Barton
2019-09-07EEVEE: Shadows: Fix correlation issue between Shadows and Anti-AliasingClément Foucault
To fix this, we just scramble the halton sequence by multiplying by a large prime number. It seems to work fine in practice. We also tried Sobol sequence but it has a less uniform pattern for low number of sample. Fix T68594 Eevee: Soft shadows causing flickering in animation and temporal AA in scenes
2019-09-07EEVEE: Shadows: Fix incorrect shadowing near point lights sourceClément Foucault
2019-09-06EEVEE: Fix Ambient Occlusion on backfacesClément Foucault
N is already the Facing normal! Dummy!
2019-09-06Viewport Shading: StudioLight IntensityJeroen Bakker
Add option to change the Intensity of the HDRI in the 3d viewport. This works for both EEVEE and Cycles Reviewed By: brecht, fclem Differential Revision: https://developer.blender.org/D5674
2019-09-05Eevee: Shadow map refactorClément Foucault
Reviewed By: brecht Differential Revision: http://developer.blender.org/D5659
2019-09-04Shading Modes: Material and Render PreviewJeroen Bakker
This change implements the basics as described in {T68312} for the shading modes. * LookDev shading mode is renamed to Material Preview. It always uses Eevee as renderer, and is intended to provide a fast material preview suitable for texture painting, and texture and material setup. * Rendered shading gains "Use Scene Lights" and "Use Scene World" options similar to current Material Preview. These will be enabled by default. When Use Scene World is turned off, HDRIs will be used for lighting instead. These options are available for EEVEE and Cycles. * Renderers will be able to customize the shading settings panel and add additional settings. Reviewed By: brecht, fclem Differential Revision: https://developer.blender.org/D5612
2019-08-25Cleanup: redundant struct declarationsCampbell Barton
2019-08-23RNA: Cleanup PointerRNA structJacques Lucke
The old layout of `PointerRNA` was confusing for historic reasons: ``` typedef struct PointerRNA { struct { void *data; } id; struct StructRNA *type; void *data; } PointerRNA; ``` This patch updates it to: ``` typedef struct PointerRNA { struct ID *owner_id; struct StructRNA *type; void *data; } PointerRNA; ``` Throughout the code base `id.data` was replaced with `owner_id`. Furthermore, many explicit pointer type casts were added which were implicit before. Some type casts to `ID *` were removed. Reviewers: brecht, campbellbarton Differential Revision: https://developer.blender.org/D5558
2019-08-22Cleanup: undeclared variable warningsCampbell Barton
Forward declare variables, or make them static.
2019-08-17Cleanup: spellingCampbell Barton
2019-08-16Cleanup: remove gawain referenceCampbell Barton
2019-08-15WM: reuse visible region calculationCampbell Barton
Avoids calculating the visible part of a region whenever on-screen overlays are drawn.
2019-08-14Eevee: Fix: Regression when using ssr and default shaderClément Foucault
2019-08-14Cleanup: move trailing comments to avoid wrapping codeCampbell Barton
Some statements were split across multiple lines because of their trailing comments. In most cases it's clearer to put the comments above.
2019-08-14Eevee: Add support for the holdout nodeClément Foucault
Support should be full when using Alpha Blend mode and partial if using any other blend mode (opaque / alpha clip / alpha hashed).
2019-08-14Eevee: Remove Additive & Multiply Blend modeClément Foucault
This commit also provide a compatibility code that will convert old materials using Additive or Multiply Blend mode to their node equivalent. This conversion is only done on outputs that are enabled for eevee.
2019-08-14Eevee: Improve Transparent BSDF behaviorClément Foucault
Alpha blended Transparency is now using dual source blending making it fully compatible with cycles Transparent BSDF. Multiply and additive blend mode can be achieved using some nodes and are going to be removed.
2019-08-04Cleanup: Fix eeve_lut arrays being duplicated in blender binary.Lazydodo
Both eevee_materials.c and workbench_deferred.c include eeve_lut.h which has its arrays marked as static leading to the blue_noise array being embedded into our binary twice. This change takes the arrays out of the header and properly marks them as const since they are lookup tables and should not be written to. Reviewers: fclem, brecht Differential Revision: https://developer.blender.org/D5346
2019-08-01Cleanup: misc spelling fixesCampbell Barton
T68035 by @luzpaz
2019-07-31Animation: Remove depsgraph argument from a lot of APISergey Sharybin
Use explicit boolean flag to indicate whether flush to original data is needed or not. Makes it possible to avoid confusion on whether an evaluated or any depsgraph can be passed to the API. Allows to remove depsgraph from bAnimContext as well. Reviewers: brecht Differential Revision: https://developer.blender.org/D5379
2019-07-31Spelling fixes in comments and descriptions, patch by luzpazBrecht Van Lommel
Differential Revision: https://developer.blender.org/D3744
2019-07-23Fix T65386 Eevee: Crash after baking indirect lights or cubemapClément Foucault
I'm not sure this fixes the root of the problem. The file from the ticket seems to have been corrupted in some way. We MIGHT want this in 2.80.
2019-07-19Fix T67033 EEVEE: Random Flickering MaterialsClément Foucault
This was a read after free error. This only fix the undefined behavior. The result is still not correct in certain cases (see T67226). We want to include this for 2.80
2019-07-18Fix T66811 Eevee: Flickering in weight paint modeClément Foucault
This was caused by TAA offset being computed as the 2nd sample even if the sampling was reset afterwards. The fix is to update the matrices after any potential reset.
2019-07-15Fix T66774 Lookdev: Assert switching from rendered to lookdevClément Foucault
The View was being reused accross different redraw (not allowed).