ec6170061e
DRW: Add stats group to eevee and object mode.
2017-07-27 14:51:44 +02:00
3b84a0b3d2
Eevee: Fix post process with Ugly color.
...
This was cause by some post process not always sampling the highest mipmap.
But if there is no need for mipmapping (i.e. no SSR) these levels will be undefined.
So forcing all Post FX shader to sample level 0 fix this.
2017-07-25 22:07:35 +02:00
4fd70c99a5
Eevee: SSR: Add support for planar probes.
...
This add the possibility to use planar probe informations to create SSR.
This has 2 advantages:
- Tracing is less expensive since the hit is found much quicker.
- We have much less artifact due to missing information.
There is still area for improvement.
2017-07-25 22:07:35 +02:00
34c2628f32
Eevee: Silence printfs.
2017-07-24 16:36:57 +02:00
c21dd69060
Eevee: Fix crash when saving file with motion blur.
2017-07-24 16:21:43 +02:00
8dd0ce6b78
Eevee: Fix double buffer issue.
2017-07-24 15:55:21 +02:00
27dd82a951
Eevee: SSR: Refactor multiple rays. Plus other changes...
...
-Allow a maximum of 4 rays per trace pixel.
-Removes parameter Normalize: use normalization all the time now.
-Add firefly clamp slider.
2017-07-24 15:36:37 +02:00
7585c82722
Eevee: Make MinmaxZ compatible with textureArray
2017-07-24 15:36:37 +02:00
85f1b7358a
Eevee: Planar Reflection: Remove distance approximation.
...
This commit separate the depth texture into another texture array.
This remove the need to output radial depth into alpha.
Unfortunatly it's difficult to recover position from the non linear depth buffer when applying reflection without adding a bunch of stuff.
This is in preparation of SSR planar reflections.
2017-07-24 15:36:37 +02:00
1d99d08d50
Eevee: SSR: Add two hit option.
...
This option add another raytrace per pixel, clearing some noise.
But multiplying the raytrace cost.
2017-07-24 15:36:37 +02:00
76bf4f2cd3
Eevee: SSR: Fix Opengl Render.
...
Add a constant number of 4 drawing loop to accumulate 4 "bounce" of light in SSRs.
2017-07-24 15:36:36 +02:00
56ba01a561
Eevee: SSR: Fixed problem with un-initialized texture.
...
Also add another debug buffer and cleanup in effect_ssr_frag.glsl
2017-07-24 15:36:36 +02:00
c5f4342692
Eevee: SSR: Small fixes
...
- Encode normals for other opaque bsdf so they are not rejected by the normal facing test.
- Early out non reflective surfaces.
- Add small offset to raytrace to avoid self intersection.
- Fix fallback probes not appearing.
2017-07-24 15:36:22 +02:00
f6c60ffcad
Eevee: SSR: Add Weight Normalization option.
2017-07-24 15:28:27 +02:00
e5dae98999
Eevee: SSR: Add View Facing fadeout.
...
Also make hit boolean depends on hit coord not on pdf.
2017-07-24 15:28:27 +02:00
d2462e3d26
Eevee: SSR: Add fullscreen raytrace option and Screen border factor.
2017-07-24 15:28:27 +02:00
9906ef06b1
Eevee: SSR: Use noise to dither the stride banding.
2017-07-24 15:28:27 +02:00
a3732412ad
Eevee: SSR: Add stride and thickness parameters.
...
Also polished the raytracing algorithm.
2017-07-24 15:28:27 +02:00
18aa6cf1cc
Eevee: SSR: Add fullscreen raytrace.
2017-07-24 15:28:27 +02:00
e0c1323737
Eevee: HiZ buffer: Split into two 24bit depth buffer
...
This way we don't have float precision issue we had before and we save some bandwidth.
2017-07-24 15:28:27 +02:00
a2932078ec
Eevee: SSR: Add firefly filter and refine noise reduction.
...
Push to 9 resolve sample.
Add an normalization as an option since it gives harsh limits.
2017-07-24 15:28:27 +02:00
b576d06050
Eevee: Codestyle.
2017-07-24 15:28:27 +02:00
e8912dd844
Eevee: SSR: Do the SSR pass only for probes if there is no valid double buffer.
...
This prevent black reflection when initializing SSR.
2017-07-24 15:28:27 +02:00
f1bf9d6bfb
Eevee: SSR: Add mipmap filtering and bias to reduce noise.
...
Also fix the roughness factors.
2017-07-24 15:28:27 +02:00
babef873fc
Eevee: SSR: Don't block the ray if tracing behind object.
...
This requires to check for backface after a hit.
2017-07-24 15:28:27 +02:00
72a4778391
Eevee: SSR: Add per pixel resolve of multiple rays.
2017-07-24 15:28:27 +02:00
b1a8803c24
Eevee: SSR: Add roughness random rays.
2017-07-24 15:28:27 +02:00
7938848b63
Eevee: SSR: Add double buffer so we can read previous frame color.
...
Also add simple reprojection and screen fade to the SSR resolve pass.
2017-07-24 15:28:27 +02:00
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