Ian Curtis
|
f634d19fdc
|
Fix shader. Why this worked on my nvidia card .. I'm not sure.
|
2019-01-24 19:11:26 +00:00 |
|
Ian Curtis
|
8094c2e2b7
|
Composite the alpha layers at the end of rendering. To do this we need to mask the alpha pixels with the opaque pixels from the next priority layer. Fixes some overlapping shadows in vf3tb that have different priority layers. I assume that was a game bug, but it works on the real h/w.
|
2019-01-21 14:30:42 +00:00 |
|
Ian Curtis
|
73ff32a10d
|
fix cast, and remove extra ; that had snuck into the shaders
|
2018-06-18 10:24:46 +00:00 |
|
Ian Curtis
|
c7ffd0a808
|
Draw transparent polys to separate layers and composite at the end. This solves a tonne of transparency errors we had been battling with for a long time. The model3 is strange in the fact it only supports a max of two translucent overlapped polys. They are not blended into the frame normally. Doing this means the topmost translucent polys only are visible in the scene, the equivalent of doing a depth pass first, but without the added cost.
|
2018-06-16 21:31:29 +00:00 |
|