f0f5e11b33
Eevee: Fix: Regression when using ssr and default shader
2019-08-14 16:43:52 +02:00
03b2371387
Cleanup: move trailing comments to avoid wrapping code
...
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-14 23:32:24 +10:00
67c10dbf13
Eevee: Add support for the holdout node
...
Support should be full when using Alpha Blend mode and partial if using
any other blend mode (opaque / alpha clip / alpha hashed).
2019-08-14 13:36:56 +02:00
d5002f007e
Eevee: Improve Transparent BSDF behavior
...
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-14 13:36:56 +02:00
760dbd1cbf
Cleanup: misc spelling fixes
...
T68035 by @luzpaz
2019-08-01 14:02:41 +10:00
604fdb6e85
Spelling fixes in comments and descriptions, patch by luzpaz
...
Differential Revision: https://developer.blender.org/D3744
2019-07-31 14:27:35 +02:00
986ff461fb
Fix T65761 Eevee: SSRefraction not working on first sample
...
There is no reason to disable the refraction on the first sample like SSR
does.
This was caussing issues when rendering.
2019-07-09 14:34:56 +02:00
0a16519f5d
Fix T61129 Eevee: alpha texture shadow bug
...
Seems like the AMD pro driver does not consider dead code the same as other
glsl compiler.
2019-07-08 18:09:52 +02:00
c2a762c8e6
Fix T65771 Eevee: Volume Emission not working if density is zero
2019-07-01 20:05:13 +02:00
7a4c99de5a
Fix T66292: Alpha Blend transparency glitches with volume
2019-07-01 14:44:01 +02:00
2a22b8af04
Eevee: Make use of dual source blending for volumetric resolve
...
This simplify the code and add an example use of dual source
blending.
2019-06-27 14:41:35 +02:00
82f569d75e
Fix T65631 Eevee: Translucent shader broken in Eevee when AO is enabled
2019-06-18 22:28:31 +02:00
a5a0f158e3
Eevee: Fix Contact shadows with Translucent BSDF
2019-06-14 16:20:29 +02:00
6e414b2910
Fix T65647 EEVEE: Contact shadows "Softness" settings darkens objects
...
This was commited by mistake.
2019-06-14 16:20:29 +02:00
6529d20d79
Cleanup: spelling in comments
2019-06-12 09:43:49 +10:00
0cfdc8d182
Eevee: Try to fix NaN caused by normal maps + bentnormals
...
Should help with T65118.
2019-06-07 13:53:30 +02:00
73252d3f60
Fix T63701 Eevee: High Volumetric end distance darkens the image
2019-06-06 18:47:36 +02:00
8fa65ed31b
Fix T65118 Eevee: NaN when using bent normals
2019-06-05 21:33:08 +02:00
98cea7edce
Fix T65298 Eevee: Principled BSDF doesn't use specular with metals
...
This does add some more register pressure as it passes a new vec3 down
the shading function. But for now we care more about accuracy than
efficiency.
2019-06-05 12:20:49 +02:00
4ddc840314
Fix T65378 Eevee: Glitches in ESM shadowmapping
...
This happen to be a NaN caused by an infinite sum in the shadow
copy shader.
2019-06-04 18:42:50 +02:00
942a748d5d
Eevee: Merge shadow map processing into one drawcall per light
...
This removes a lot of framebuffer configuration and binding.
2019-06-04 18:42:50 +02:00
95f5272bda
Cleanup: style, use braces in draw
2019-06-04 00:14:05 +10:00
574e790340
Fix T64123 Eevee: Reflections Not Visible On Alpha Clip Materials
2019-05-28 20:33:19 +02:00
b3601a4687
Eevee: Make lookdev shader use common_view_lib
2019-05-22 13:29:05 +02:00
800641a77f
Eevee: Make Planar reflections work with the new DRWView system
...
Also get rid of clip_block which did the same as clipplanes inside
common_view_lib.glsl.
2019-05-22 13:29:05 +02:00
0c4ce8e55e
Eevee / Workbench: Fix hair normals
...
Hair normals were not behaving correctly. This corrects their looks and
fix the node shader geometry that was showing the flat normal.
2019-05-17 18:17:23 +02:00
2bb788d4cd
Cleanup: Eevee: Remove custom volumetric matrix
...
This was the same as using the inverse obmat.
2019-05-17 13:38:42 +02:00
52669dda80
Eevee: Remove the Volumetric Render checkbox
...
This is to simplify the usage of Volumetrics.
Now it automatically detect if there is any Volumetric material in the
view and allocate the needed buffer if any.
2019-05-17 13:38:42 +02:00
4cd191aa29
EEVEE: Intel Shader Compiler Bug
...
When using Intel GPU EEVEE did not display anything. This was due to an
internal shader compilation bug inside the intel drivers. We had fixed
this for other vertex shaders. The same change we have to apply to other
vert shaders that want to limit the need of Matrix multiplications.
2019-05-16 13:35:02 +02:00
20421ef952
Cleanup: DRW: Move ModelMatrix declaration to common_view_lib
2019-05-14 10:57:04 +02:00
cf8109d2aa
Cleanup: Eevee: Make planar downsampling not use instance drawing
2019-05-14 10:57:03 +02:00
0d8ab0eac6
DRW: Remove ModelViewMatrix Usage
2019-05-10 12:14:41 +02:00
a298dde5d7
Eevee: Update matrices operations to not use combined matrices
2019-05-10 12:14:41 +02:00
fdddea676d
Cleanup: DRW: Renaming of glsl utility macros
2019-05-10 12:14:41 +02:00
1a99b6fc7e
Fix T64158 Eevee: Mixed SSS shader becomes brighter and brighter
...
This change the logic a bit, when 2 bsdfs using SSS are mixed, we use the
one with the biggest radius (on a per pixel basis).
This change from previous behavior which was to select input 1 if radius
was greater than 0.
2019-05-09 00:10:29 +02:00
f2f62b184c
DRW: Remove WorldNormalMatrix
2019-05-08 20:13:32 +02:00
bb41626ab3
Eevee: Remove uneeded normalization
2019-05-08 20:13:32 +02:00
f302224e16
Cleanup: Eevee: Remove Flat normal shader variation
...
Was use by sculpt mode but that's not used anymore.
2019-05-04 14:11:04 +02:00
e66629c128
Eevee: Lookdev: Cleanup implementation & support for Bloom and TAA
...
Make Lookdev works with bloom and TAA by rendering it before TAA and fixing
the motion vectors of the lookdev balls.
Rework Lookdev to remove much of its complexity. Use simpler matrices with
more understandable setup code.
2019-05-01 12:09:18 +02:00
b581f19292
Eevee: Add support for alpha background in viewport
...
Viewport now displays alpha checkerboard pattern like Cycles does when
film alpha is set to "Transparent".
Some small workarounds were necessary for Depth of Field and correct TAA
support.
2019-05-01 12:09:18 +02:00
63f0e150ed
Cleanup: comments (long lines) in draw
2019-05-01 10:51:10 +10:00
2445d5abc2
Fix T63393 Eevee: Specular Shader's Clear Coat does not function
2019-04-30 14:07:22 +02:00
16639c6f1a
Fix T63784 Eevee : Black Diffuse with Principled BSDF and Mix Shader
...
This was cause by the SSS energy being lost when using SSRefraction. Also the mix
shader did not merge the discarded SSS light into the radiance.
2019-04-26 00:14:28 +02:00
c8fc23fdbe
Fix T63698: Eevee crash after recent clang-format changes
...
Some GLSL compilers seem to not have problems with \ to break preprocessor
directives. I couldn't find other places with similar code, but fixing this
case by case is not ideal and the same issue may come up again.
2019-04-21 11:39:04 +02:00
e12c08e8d1
ClangFormat: apply to source, most of intern
...
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-04-17 06:21:24 +02:00
f0a20ae1c9
Fix T61129 Eevee: alpha texture shadow bug
...
This was due to some shading resources not being bound for the shadow
shader. This commit completely remove the shading part when in a shadow
shader. Thus making it a bit more lightweight and removing the needed
sources.
2019-03-29 19:18:19 +01:00
6d1921dd81
Fix T62862 Eevee: Glitchy reflections in ortographic view
...
This was caused by sign(cubevec.xy) returning 0.0 when one component was 0.
Thus making the resulting component component 0.0 instead of 0.0.
2019-03-27 19:15:32 +01:00
abd18f6ec0
Cleanup: style
2019-03-25 11:42:28 +11:00
1ae6aaad43
Eevee: Cleanup
...
Remove unneeded normalization.
2019-03-22 00:13:18 +01:00
cc1b193ddf
Revert "Fix T62621 object scale changes tangent node output in Eevee"
...
This reverts commit 86646dab7c .
2019-03-22 00:13:18 +01:00