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
2022-03-22Metal: Make GLSL shader source MSL compliant alsoJason Fielder
Metal shading language follows the C++ 14 standard and in some cases requires a greater level of explicitness than GLSL. There are also some small language differences: - Explicit type-casts (C++ requirements) - Explicit constant values (C++ requirements, e.g. floating point values using 0.0 instead of 0). - Metal/OpenGL compatibility paths - GLSL Function prototypes - Explicit accessors for vector types when sampling textures. Authored by Apple: Michael Parkin-White Ref T96261 Reviewed By: fclem Maniphest Tasks: T96261 Differential Revision: https://developer.blender.org/D14378
2022-03-11Cleanup: fix source comment typosBrecht Van Lommel
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D14307
2021-09-21Fix T87801: Eevee ambient occlusion is incorrect on M1 macMiniClément Foucault
The issue was caused by `textureSize()` returning the size of the level 0 even when the min texture level is higher than 0. Using a uniform to pass the correct size fixes the issue. This issue also affected the downsampling of radiance for reflections and refractions. This does not affect anything other than the recusive downsampling shaders.
2021-03-08EEVEE: Use Fullscreen maxZBuffer instead of halfresClément Foucault
This removes the need for per mipmap scalling factor and trilinear interpolation issues. We pad the texture so that all mipmaps have pixels in the next mip. This simplifies the downsampling shader too. This also change the SSR radiance buffer as well in the same fashion.
2019-06-12Cleanup: spelling in commentsCampbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-03-19Cleanup: comment blocksCampbell Barton
2018-09-19Merge branch 'master' into blender2.8Brecht Van Lommel
2018-09-11Eevee: Fix downsampling shader with textureGatherClément Foucault
This was leading to issues with all raytracing and AO algorithm. Fix T55619
2018-08-14GPUShader: Fix previous "old Nvidia" fix commitClément Foucault
Note to myself, next time, better check the fix before pushing it. GL_ARB_texture_gather is defined if there is support for the extension not only when the extension is enabled. Do this check ourself with GPU_ARB_texture_gather define. Original fix 822de6e9e1b8
2018-08-14Fix T55802 shader compile bug with texture gather on old Nvidia cardClément Foucault
The extension GL_ARB_texture_gather is reported to be supported and does not trigger an error when enabled but the textureGater functions are not defined. Workaround is to disable the use of this extension on such systems.
2018-04-22Cleanup: trailing spacesCampbell Barton
Applied to newly added files in 2.8
2018-04-17Eevee: Use textureGather for minmaxZbuffer downsampling.Clément Foucault
I haven't noticed any performance improvement but it could be more important for other hardware. At least it's not slower!
2018-02-14Eevee: Fix broken AO and Contact shadows on certain platform.Clément Foucault
This was caused by ce0f70fbd62fc812a2508c27a2f392cde0acbdfa
2018-02-07Eevee: Fix SSR & AO on Vega + Mesa.Clément Foucault
Really strange bug. Maybe gl_FragDepth is broken on this implementation.
2017-12-08Eevee: Fix SSR ans SSAO for intel GPU.Clément Foucault
On my intel GPU there is some issue when rendering to depth only format. This workaround the issue.
2017-08-18Eevee: MinmaxZ: Avoid unecessary conversions.Clément Foucault
2017-08-12Eevee: Fix and opimize MinMaxZ generation.Clément Foucault
2017-07-24Eevee: Make MinmaxZ compatible with textureArrayClément Foucault
2017-07-24Eevee: HiZ buffer: Split into two 24bit depth bufferClément Foucault
This way we don't have float precision issue we had before and we save some bandwidth.
2017-06-22Eevee: Minmax Depth Pyramid.Clément Foucault
This commit introduce the computation of a depth pyramid containing min and max depth values of the original depth buffer. This is useful for Clustered Light Culling but also for raytracing on the depth buffer (SSR). It's also usefull to have to fetch higher mips in order to improve texture cache usage. As of now, 1st mip (highest res) is half the resolution of the depth buffer, but everything is already done to be able to make a fullres copy of the depth buffer in the 1st mip instead of downsampling. Also, the texture used is RG_32F which is a too much but enough to cover the 24bits of the depth buffer. Reducing the texture size would make things quite faster.