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
2019-07-31Spelling fixes in comments and descriptions, patch by luzpazBrecht Van Lommel
Differential Revision: https://developer.blender.org/D3744
2019-05-01Cleanup: comments (long lines) in drawCampbell 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-16Fix T60803 Artifacts with SSR + Reflection Plane + 0 roughnessClément Foucault
Tweaked the tracing parameters again to avoid rays terminated before first iteration.
2019-03-16Fix T55620 Artifacts with SSR and planar reflectionClément Foucault
Was caused by 0 pixel extent rays which did not trace at all. Bumping the threshold for degenerate rays fixes it.
2019-03-12Eevee: Planar Ref.: Invert view matrix to remove triangle front face flipClément Foucault
This was the cause of some issue with normal mapping. This way is cleaner since it does not modify the state of the drawcalls and other ad-hoc solutions to fix the problems down the road. Unfortunately, it does require to fix every sampling coordinate for this texture. Fix T62215: flipped normals in reflection plane
2018-09-19Merge branch 'master' into blender2.8Brecht Van Lommel
2018-09-11Eevee: Prepare for fullres tracingClément Foucault
2018-05-26Cleanup: whitespace, long lines, duplicate includeCampbell Barton
2018-05-01Eevee: Fix raytracing.Clément Foucault
- Fix the confusing naming in raycast() - Fix raytrace acne caused by the rays not being correctly centered on the texel.
2018-01-22Eevee: Put all constant uniforms in a global UBO.Clément Foucault
This is an optimization / cleanup commit. The use of a global ubo remove lots of uniform lookups and only transfert data when needed. Lots of renaming for more consistent codestyle.
2017-10-25Eevee: Fix T53095: Black cube on start and no material updatesClément Foucault
This was caused by a not bound unused texture. Removing the texture usage fixes the problem.
2017-10-12Eevee: Contact Shadows: Fix remaining artifacts.Clément Foucault
There was noise correlation between the rotation random number and the radius random number used in the contact shadow algo. Hacking a new distribution from the old distribution (may not be ideal because it's discrepency may be high) Also distribute samples evenly on the shadow disc. (add sqrt) Fix the "bias floating shadows", was cause by the discarding of backfacing geom which makes no sense in this case.
2017-10-07Eevee: Modify the raycast function to be more flexible.Clément Foucault
Make quality a parameter, and modify the ray end to be premultiplied so that the raytrace is done on a range. This is in order to add contact shadows.
2017-09-25Eevee: Fix SSR in orthographic view.Clément Foucault
The problem was that orthographic views can have hit position that are negative. Thus we cannot encode the hit in the sign of the Z component. The workaround is to store the hit position in screenspace. But since we are using floating point render target, we are loosing quite a bit of precision. TODO: use RGBA16 instead of RGBA16F. But that means encoding the pdf value somehow.
2017-08-10Eevee: SSR: Refine Raytrace Algorithm.Clément Foucault
We track the previous ray position offseted by the thickness. If the sampled depth is between this value and the current ray position then we have a hit. This fixes rays that are almost colinear with the view vector. Thickness is now only important for rays that are comming back to the camera. As a consequence, this simplify a lot of things. Also include some refactor.
2017-08-10Eevee: Correct Mipmap texel alignment.Clément Foucault
Since we are working with non power of 2 textures, the mipmap level UV does not line up perfectly. This resulted in skewed filtering and bad sampling of the min/max depth buffer.
2017-07-31Eevee: SSR: Rewrote the raytracing algorithm.Clément Foucault
It now uses a quality slider instead of stride. Lower quality takes larger strides between samples and use lower mips when tracing rough rays. Now raytracing is done entierly in homogeneous coordinate space. This run much faster. Should be fairly optimized. We are still Bandwidth bound. Add a line-line intersection refine. Add a ray jitter between the multiple ray per pixel to fill some undersampling in mirror reflections. The tracing now stops if it goes behind an object. This needs some work to allow it to continue even if behind objects.
2017-07-25Eevee: SSR: Add support for planar probes.Clément Foucault
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-24Eevee: SSR: Refactor multiple rays. Plus other changes...Clément Foucault
-Allow a maximum of 4 rays per trace pixel. -Removes parameter Normalize: use normalization all the time now. -Add firefly clamp slider.
2017-07-24Eevee: SSR: Add two hit option.Clément Foucault
This option add another raytrace per pixel, clearing some noise. But multiplying the raytrace cost.
2017-07-24Eevee: SSR: Small fixesClément Foucault
- 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-24Eevee: SSR: Use noise to dither the stride banding.Clément Foucault
2017-07-24Eevee: SSR: Add stride and thickness parameters.Clément Foucault
Also polished the raytracing algorithm.
2017-07-24Eevee: SSR: Don't block the ray if tracing behind object.Clément Foucault
This requires to check for backface after a hit.
2017-07-24Eevee: SSR: Make raymarch step bigger.Clément Foucault
2017-07-24Eevee: SSR: Add simple raytracing.Clément Foucault
Still imprecise.