Files
filament/docs
Mathias Agopian c6502054e9 Fix guard bands and TAA with VERTEX_DOMAIN_DEVICE
With VERTEX_DOMAIN_DEVICE the vertex shader doesn't apply the 
projection (since the vertices are already in clip space), however,
both TAA and guard bands need to jitter/offset the clip space, and
it is done at the projection level.

We now store the clip space offset separately so that it can be applied
to VERTEX_DOMAIN_DEVICE vertices.

We also introduce a new material parameter, vertexDomainDeviceJittered,
a boolean that controls whether clip space offset (above) is applied.
This is because a VERTEX_DOMAIN_DEVICE material that uses the built-in
projection matrices generally ends-up with the jitter already applied,
this is the case with the Skybox for instance.

Fixes #5917
2022-08-16 15:32:33 -07:00
..
2020-08-07 11:02:38 -07:00
2020-08-07 11:02:38 -07:00
2020-08-07 11:02:38 -07:00
2020-08-07 11:02:38 -07:00
2022-02-02 10:04:48 -08:00
2020-08-07 11:02:38 -07:00
2020-08-07 11:02:38 -07:00
2022-04-06 11:03:18 -07:00
2020-08-07 11:02:38 -07:00
2018-11-01 17:05:30 -07:00
2020-08-07 11:02:38 -07:00
2018-08-03 10:38:22 -07:00
2020-08-07 11:02:38 -07:00