64890a62cd
Eevee: Add failsafe check in shadow material.
2017-07-11 12:42:59 +02:00
c0f2cbab4e
Eevee: Transparency: Add transparent Shadow method UI.
2017-07-11 12:39:35 +02:00
ec9330d206
Eevee: Fix default closure to match cycles.
2017-07-11 12:39:35 +02:00
91d324b3dc
Eevee: Transparency: Add support for Clip and Stochastic shadows.
2017-07-11 12:39:35 +02:00
a57bc75576
Eevee: Transparency: Add hide backside option.
2017-07-11 12:39:35 +02:00
a098d02718
Eevee: Transparency: Add object center Z sorting.
...
Better algo should take bounding box center, but it's not referenced yet in the draw call and cannot be tweaked by user.
2017-07-11 12:39:35 +02:00
ad7458d00c
Eevee: Transparency: Add Alpha Blend mode.
2017-07-11 12:39:35 +02:00
d35c24f87b
Eevee: Transparency: Add support for blend ADD and MULTIPLY.
...
This introduces a new transparency pass.
It bypass the radial distance encoding in alpha for the transparent shaders.
2017-07-11 12:39:35 +02:00
eb8dddaab1
Eevee: Material: Code cleanup in order to add transparency support.
2017-07-11 12:39:35 +02:00
05bef13b53
Eevee: Add support for Alpha clip and Hashed Alpha transparency.
...
Hashed Alpha transparency offers a noisy output but has the benefit of being correctly ordered. Noise can be attenuated with Multisampling / AntiAliasing.
2017-07-11 12:39:35 +02:00
6eea22b2b7
Eevee: Fix Planar Reflection bug / background artifact.
...
This was cause by a missing uniform.
2017-07-06 18:28:25 +02:00
d02711ed88
Eevee: Fix the NaN pixel issue.
...
It's cause by degenerate triangle having normals set to (0,0,0) which may not be compressed like it should.
This fix the problem in the final indirect lighting evaluation which might be costly.
2017-07-06 16:01:21 +02:00
e5462421c0
Eevee: Add support for common BSDFs.
...
Add Diffuse BSDF, and Glossy.
Also Use World normal instead of view normal as input.
2017-07-06 13:32:19 +02:00
f67c331bed
Eevee: Volumetrics: Avoid light leaking if last step is going trough geometry.
2017-07-06 00:28:13 +02:00
91808a67e8
Eevee: Volumetrics: Fix enum flag.
2017-07-05 22:17:09 +02:00
7b565c8a76
Eevee: Fix typo...
2017-07-05 19:57:02 +02:00
c62f82e35b
Eevee: Fixups.
...
Fix float promotion and missing layer parameters.
2017-07-05 19:15:32 +02:00
f6c739cbcd
Eevee: Volumetrics: Add Light contribution clamping.
...
This avoid too much variance at light centers and remove some noise.
2017-07-05 19:14:50 +02:00
031a4d5e22
Eevee: Volumetrics: Do not add anisotropy attribute, average it.
...
This makes no sense to add theses. In cycles, each volume node is computed separatly. In eevee only the combined parameters are evaluated and phase should be averaged in this case.
2017-07-05 18:31:43 +02:00
291b365e26
Eevee: Volumetrics: Add settings.
2017-07-05 18:28:48 +02:00
8b78a8d9bc
Eevee: Volumetrics: Add support for Position Coordinates.
...
This enables texturing of the noise via procedural or baked textures.
Note that it gets quickly really heavy.
2017-07-05 18:21:06 +02:00
d5448eac6c
Eevee: Volumetrics: Colored Transmittance support.
...
Render the transmittance in another color buffer and apply it separatelly.
It's a bit more slow because the upsample step needs to be done twice.
2017-07-05 18:20:19 +02:00
ed4e62997e
Eevee: Volumetrics: Match cycles scattering.
2017-07-05 18:03:36 +02:00
Dalai Felinto
84d20dd227
Eevee: Fix world test for volumetric
...
Compiler even throws a warning at this.
2017-07-04 18:07:39 +02:00
fc8f6e8f7a
Eevee: Fix Closure define.
2017-07-04 11:40:12 +02:00
b09052002c
Eevee: Add support for volumetrics in node tree.
...
Only volume scatter is implemented for now.
2017-07-03 22:08:33 +02:00
65b01014b9
Eevee: Initial implementation of Volumetrics.
2017-07-03 22:08:33 +02:00
9b66a320bf
Eevee: Fix luma calculation for lamp fresnel.
2017-07-03 22:08:33 +02:00
Dalai Felinto
1ad0cc6bde
Eevee: Hide lightprobe data when using "Only Render"
2017-07-03 16:16:24 +02:00
178c470c43
Eevee: Fix specular shadowing.
...
Compute luminance approximation instead of using green channel.
This is to match cycles principled bsdf.
2017-06-30 14:10:42 +02:00
7c72079381
Fix hair shading after Eevee shader refactor
2017-06-29 18:45:11 +02:00
90e16b8e03
Eevee: Fix world probe with world without nodetree.
2017-06-29 17:32:13 +02:00
5e96df7d27
Eevee: Remove Geometry shader usage for background.
...
This fix the behaviour of the light path node that separates the probes background from the viewport background.
2017-06-29 17:08:13 +02:00
790b15112b
Eevee: Fix T51922: Avoid division by 0.
...
Problem was caused by a division by 0 when rendering the probes. This patch make the visibility equal to 1.0 in this case.
2017-06-29 17:08:13 +02:00
95797336f5
Eevee: Prepare support for future Anisotropic shading.
2017-06-29 17:08:13 +02:00
e14fd19105
Eevee: Add Initial support for Principle BRDF.
...
Lots of things not working yet but it's comming.
2017-06-29 01:47:59 +02:00
8d57f4e3c6
Eevee: Remove ShadingData struct.
...
That was a bad idea after all.
2017-06-29 01:47:59 +02:00
ada6e720f9
GPU_codegen: Add support for passing attributes through the geometry stage.
...
Should fix some issues with missing attributes in Eevee.
2017-06-28 21:05:43 +02:00
26b699a105
Eevee: Fix shader linking error.
2017-06-28 18:28:52 +02:00
b6a2d255c3
Eevee: Fix Shadow Map bug: fix T51924
2017-06-28 17:21:57 +02:00
03b915d711
Eevee: Fix Shader compilation on certain driver.
2017-06-28 16:51:31 +02:00
1982e724f4
Eevee: Refactor of shading code to be more modular.
...
This will enable creating shading models more easily.
2017-06-28 16:32:08 +02:00
4a061a87e6
DwM: mesh data now only creates data thats used
...
Read from the GPUMaterial to find custom-data layers used for drawing.
This resolves problem where having UV's would always calculate tangents
causing noticeable slow down compared to 2.7x.
2017-06-28 13:44:28 +10:00
e78c0840f2
DwM: create eevee materials before the mesh
...
To know which custom-data layers will be needed in the mesh.
No functional change yet.
2017-06-28 13:36:55 +10:00
87dd9c31a0
GPU: split GPU_material_from_nodetree in two
...
Add GPU_material_from_nodetree_find to avoid having to construct other
arguments which won't be used in the case the material is exists.
2017-06-28 10:59:25 +10:00
c218d4b008
Eevee: Bloom: fix black bloom artifacts.
2017-06-27 05:18:00 +02:00
0394c04a7f
Eevee: Add Planar reflection blurring.
...
This method is very cheap and inaccurate. This will fill the gap untill better model is supported.
2017-06-26 21:04:53 +02:00
e304150701
Enable shadow catching for Eevee hair
...
Shadow catching was disabled for hair in Eevee, because of an issue in
the shadow maps. The issue has since been resolved, so this re-enables
shadow catching for hair.
2017-06-26 12:30:30 +02:00
cbbfacdac0
Hair UV implementation for Eevee
...
This implements UV support for Eevee hair, enabling the usage of
textures.
2017-06-26 12:17:18 +02:00
07f34ee843
Eevee: Fix linking error.
2017-06-24 05:25:33 +02:00