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
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
566a4a96cb
Fix T57891: Radius of strip hair doesn't scale with object scale
...
Note that this only works fine with uniformly scaled objects.
Otherwise, the hair thickness will vary in a weird way depending on viewing
angles.
2018-11-20 13:09:27 +01:00
fa0f938b11
Eevee: Fix assert with hair drawing
...
This remove unused clip_block when not needed and the useless ubo bind that
were put there for the sake of not crashing.
2018-08-03 09:49:31 +02:00
4430bd3644
Eevee: CodeStyle: Fix naming and confusion about the hairs vectors.
2018-06-02 21:16:40 +02:00
10f6450ef2
Eevee: Add support for new Hair geometry system.
...
This now can shade actual poly strips that mimics cylinders.
This makes hair coverage exact compared to the line method and result in
smoother fading hair.
This does make the sampling a bit more exact but needs more samples to
converge properly.
2018-05-30 12:25:20 +02:00
4f55ee5a3c
Eevee: Add new clipping UBO.
...
This fixes problems with the planar reflections.
2018-03-10 02:18:25 +01:00
5c67ac2236
Eevee: Add special shader for depth prespass.
...
This way we can extend it to output more data (like motion vectors).
Add a variation that uses clip distances.
2017-06-19 10:47:56 +02:00