Magnus Norddahl
|
2052a6db53
|
Simplify code slightly
|
2019-12-08 18:27:26 +01:00 |
|
Magnus Norddahl
|
1e239ba4bb
|
SSE for the blend functions
|
2019-12-08 18:20:50 +01:00 |
|
Magnus Norddahl
|
819c675c3d
|
Fix typo
|
2019-12-08 16:40:14 +01:00 |
|
Magnus Norddahl
|
0b9e4e1f3d
|
Oops, shifting using a SSE register apparently requires AVX2
|
2019-12-08 16:29:14 +01:00 |
|
Magnus Norddahl
|
6c65c25303
|
Create specific blend functions for the common legacy render styles
|
2019-12-08 16:06:42 +01:00 |
|
Magnus Norddahl
|
42720f87cc
|
Select fragment shader once per triangle
|
2019-12-08 14:52:12 +01:00 |
|
Magnus Norddahl
|
f7ae955e6a
|
Select blend function once per triangle
|
2019-12-08 14:42:20 +01:00 |
|
Magnus Norddahl
|
73c62c5404
|
Minor code simplification
|
2019-12-08 13:57:40 +01:00 |
|
Magnus Norddahl
|
aa44fa7c77
|
Create SSE2 version of BlendColor
|
2019-12-08 13:55:28 +01:00 |
|
Magnus Norddahl
|
844b203971
|
Split the various stages of the fragment shader into functions
|
2019-12-08 03:18:05 +01:00 |
|
Magnus Norddahl
|
c97d02ae51
|
Alpha test must be performed before vcolor is applied
|
2019-12-08 02:39:42 +01:00 |
|
Magnus Norddahl
|
fdb93309fe
|
Fix render to texture
|
2019-12-08 01:39:17 +01:00 |
|
Magnus Norddahl
|
cef3fd53ab
|
Clamp vColor
|
2019-12-08 00:41:24 +01:00 |
|
Magnus Norddahl
|
f365f6f433
|
Fix depth test staying active when it shouldn't
|
2019-12-08 00:41:02 +01:00 |
|
Magnus Norddahl
|
310ef73aa8
|
Rename PolyTriangleDrawer to PolyCommandBuffer and make its interface look like one
|
2019-12-07 23:15:12 +01:00 |
|
Magnus Norddahl
|
bb64b178e1
|
Fix sky transition
|
2019-12-07 21:17:11 +01:00 |
|
Magnus Norddahl
|
90f5eee6c6
|
Add dynamic lights
|
2019-12-07 15:09:58 +01:00 |
|
Magnus Norddahl
|
75248cffd0
|
- fix decal color bug
|
2019-12-06 23:26:38 +01:00 |
|
Magnus Norddahl
|
fd4fc45040
|
Move blend operator and alpha test flag out of the inner blend loop
|
2019-12-06 20:35:19 +01:00 |
|
Magnus Norddahl
|
aede0633bc
|
- fix bug where SSE wasn't actually really used at all
- improve precision of the SSE version of WriteW
- use SSE to calculate the texture wrapping
|
2019-12-06 18:51:41 +01:00 |
|
Magnus Norddahl
|
43139276d1
|
SSE2 version of wrap
|
2019-12-02 18:44:15 +01:00 |
|
Magnus Norddahl
|
865b7a1a2c
|
Implement func_paletted shader
|
2019-12-02 01:28:35 +01:00 |
|
Magnus Norddahl
|
44c2223c2f
|
Draw 8-bit software renderer with polybackend (well, sort of!)
|
2019-12-02 01:07:28 +01:00 |
|
Magnus Norddahl
|
4a2b763aaa
|
Support 8-bit textures
|
2019-12-02 00:35:15 +01:00 |
|
Magnus Norddahl
|
74c6b9fe6d
|
Remove PolyDrawArgs
|
2019-12-02 00:21:42 +01:00 |
|
Magnus Norddahl
|
d2f4570337
|
Remove old polyargs
|
2019-12-02 00:01:04 +01:00 |
|
Magnus Norddahl
|
4a4b79194d
|
Remove/disable old swrenderer model rendering code
|
2019-12-01 23:37:43 +01:00 |
|
Magnus Norddahl
|
3059b8f5c8
|
Remove old softpoly drawer implementation
|
2019-12-01 23:23:25 +01:00 |
|
Magnus Norddahl
|
1b9479ea45
|
Implement burn.fp and second texture binding
|
2019-12-01 21:44:44 +01:00 |
|
Magnus Norddahl
|
2c751d214f
|
Hook up some SSE2
|
2019-12-01 20:23:41 +01:00 |
|
Magnus Norddahl
|
7746b2c6fd
|
- add light array
|
2019-08-06 07:15:07 +02:00 |
|
Magnus Norddahl
|
b34658d4d8
|
- fix out of bounds crash
|
2019-08-06 06:21:37 +02:00 |
|
Magnus Norddahl
|
eb127d0dac
|
- implement more shaders
|
2019-08-06 04:51:37 +02:00 |
|
Magnus Norddahl
|
4e24fdacf0
|
- implement more of the default shader
|
2019-08-05 23:31:56 +02:00 |
|
Magnus Norddahl
|
82a17572ef
|
- implement getTexel part of main.fp
|
2019-08-05 19:32:54 +02:00 |
|
Magnus Norddahl
|
b17351cda4
|
- implement blend functions
|
2019-08-05 08:37:22 +02:00 |
|
Magnus Norddahl
|
f73470dcf4
|
- rewrite screen triangle drawer to be more modular and better support the hwrenderer shaders
|
2019-08-05 03:23:04 +02:00 |
|
Magnus Norddahl
|
ebe377e5de
|
- remove TriDrawTriangleArgs::uniforms as it is redundant
|
2019-08-04 02:57:08 +02:00 |
|
Magnus Norddahl
|
97a4f25771
|
- hook up dynamic lights
|
2019-07-25 04:19:05 +02:00 |
|
Magnus Norddahl
|
557206131c
|
- remove debug statement
|
2019-06-23 23:53:42 +02:00 |
|
Magnus Norddahl
|
e59c5cb947
|
- fix missing font glyphs
|
2019-06-23 21:24:37 +02:00 |
|
Magnus Norddahl
|
91ec1463b8
|
- add line drawer
|
2019-05-31 08:49:08 +02:00 |
|
Magnus Norddahl
|
80805656ed
|
- implement alpha test
|
2019-05-31 06:43:24 +02:00 |
|
Magnus Norddahl
|
b9230d4425
|
- fix negative uLightLevel being applied
|
2019-05-29 06:42:02 +02:00 |
|
Magnus Norddahl
|
a1229be5c6
|
- implement camera textures
|
2019-05-29 05:45:19 +02:00 |
|
Magnus Norddahl
|
be5ecce598
|
- fix fill color and translucency
|
2019-05-29 02:22:45 +02:00 |
|
Magnus Norddahl
|
eff38393af
|
- fix stencil writing color
|
2019-05-29 01:14:42 +02:00 |
|
Magnus Norddahl
|
555beb58f0
|
- tell softpoly backend which hwrenderer shader is active and use that to decide which drawer to use
|
2019-05-28 08:13:19 +02:00 |
|
Magnus Norddahl
|
bd591c75fb
|
- implement depth bias
|
2019-05-28 06:45:21 +02:00 |
|
Magnus Norddahl
|
c2535519e8
|
- fix blend mode for the fireballs
|
2019-05-27 20:20:20 +02:00 |
|