14bedf80cd
Eevee: SSR: Make raymarch step bigger.
2017-07-24 15:28:27 +02:00
ebc2833ca1
Eevee: Fix Shader compilation.
2017-07-24 15:28:27 +02:00
3be8ab881e
Eevee: SSR: Add simple raytracing.
...
Still imprecise.
2017-07-24 15:28:27 +02:00
19323a0ff5
Eevee: Fix clip/hashed alpha prepass/shadow crash.
2017-07-24 15:28:27 +02:00
1d00a66f5d
Eevee: SSR: Encode Normal in buffer and add cubemap fallback.
...
Normals can point away from the camera so we cannot just put XY in the buffer and reconstruct Z later as we would not know the sign of Z.
2017-07-24 15:28:27 +02:00
2a84331f02
Eevee: SSR: Output ssr datas to buffers.
...
Output in 2 buffers Normals, Specular Color and roughness.
This way we can raytrace in a defered fashion and blend the exact contribution of the specular lobe on top of the opaque pass.
2017-07-24 15:28:27 +02:00
04f8e1b21c
Eevee: Ssr: Add ssr id to glossy nodes.
...
An id is given to each glossy node in order to determine which specular lobe is using ssr.
2017-07-24 15:28:27 +02:00
1c4c288727
Pass EvaluationContext argument everywhere
...
Note that some little parts of code have been dissabled because eval_ctx
was not available there. This should be resolved once DerivedMesh is
replaced.
2017-07-21 14:47:26 +02:00
02e318e8b9
Eevee: Fix crash when using lamps in dupli groups.
2017-07-19 18:17:56 +02:00
3534c3e0df
Eevee: Avoid crash when using dupli objects.
...
This is waiting a for a better solution.
2017-07-18 10:05:16 +02:00
fe8fc79cee
Eevee: Fix transparency not drawing after volumetrics.
...
Fix T52089, Fix T52091
2017-07-18 10:05:16 +02:00
0926b896b6
Eevee: Fix crash with transparency.
2017-07-18 10:05:16 +02:00
Dalai Felinto
8dadeab47f
Fix shadow geometry shader
2017-07-17 14:28:17 +02:00
4c835b9168
Eevee: Fix double promotion.
2017-07-17 11:01:31 +02:00
886ea37572
Fix T51979: Eevee: Bloom artifacts w/ zero area faces
2017-07-14 15:27:08 +10:00
6f66498c10
Revert "Eevee: Fix the NaN pixel issue."
...
This reverts commit d02711ed88 .
2017-07-14 14:45:18 +10:00
5fe2423ed5
Use explicit scene_layer variable name for public API
2017-07-13 12:51:35 +02:00
Dalai Felinto
8c17b5fe42
Eevee small cleanups
2017-07-13 12:04:49 +02:00
Dalai Felinto
445963f299
Eevee: Fix crash on eevee lamps and shadows
2017-07-13 12:04:49 +02:00
a3240df269
Always using full shading for eevee + sculpt mode
...
Also disable for dyntopo & multires since its currently not supported.
2017-07-13 19:09:40 +10:00
b4988d01cb
DwM: Option to use final material over mode shading
...
Support using full material shading in sculpt & paint modes mode.
Access 'Full Shading' from the display panel when in paint modes.
2017-07-13 01:59:44 +10:00
1b91b443e0
Eevee: Transparency: Fix crash when using transparent shadows.
...
Fixes T52024
2017-07-11 21:52:30 +02:00
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