plagman
|
8bdb217ca1
|
Multi-pass shading and correct a light culling bug.
git-svn-id: https://svn.eduke32.com/eduke32@1242 1a8010ca-5511-0410-912e-c29ae57300e0
|
2009-03-12 13:51:30 +00:00 |
|
plagman
|
09ef2dae34
|
Calculate inverse TBN matrix for planes.
git-svn-id: https://svn.eduke32.com/eduke32@1241 1a8010ca-5511-0410-912e-c29ae57300e0
|
2009-03-11 13:23:05 +00:00 |
|
plagman
|
e158a9e71c
|
Basic model bounding sphere light culling and corrected the bounding sphere calculation algorithm. Note that light still leaks to models/sprites on overlapping sectors, but not on the sectors themselves.
git-svn-id: https://svn.eduke32.com/eduke32@1240 1a8010ca-5511-0410-912e-c29ae57300e0
|
2009-03-10 17:49:34 +00:00 |
|
plagman
|
512bb9a5ab
|
MD3 normals.
git-svn-id: https://svn.eduke32.com/eduke32@1239 1a8010ca-5511-0410-912e-c29ae57300e0
|
2009-03-10 14:30:34 +00:00 |
|
plagman
|
9995cc46c2
|
Repack model geometry as floats (preliminary work for model normals).
git-svn-id: https://svn.eduke32.com/eduke32@1238 1a8010ca-5511-0410-912e-c29ae57300e0
|
2009-03-10 12:08:33 +00:00 |
|
plagman
|
dec9c2cbac
|
Model bounding box and sphere computation.
git-svn-id: https://svn.eduke32.com/eduke32@1237 1a8010ca-5511-0410-912e-c29ae57300e0
|
2009-03-10 09:26:25 +00:00 |
|
plagman
|
e41322dd47
|
Sprite lighting.
git-svn-id: https://svn.eduke32.com/eduke32@1235 1a8010ca-5511-0410-912e-c29ae57300e0
|
2009-03-08 22:59:54 +00:00 |
|
plagman
|
7d7a705af9
|
Work around a precision bug that would cause colinear wall vectors to only be "almost" colinear, causing the cross product to be wrongly validated and resulting in bogus normal vectors for some surfaces.
git-svn-id: https://svn.eduke32.com/eduke32@1234 1a8010ca-5511-0410-912e-c29ae57300e0
|
2009-03-08 21:07:40 +00:00 |
|
plagman
|
ad1091b2df
|
Light culling and proper diffuse material.
git-svn-id: https://svn.eduke32.com/eduke32@1233 1a8010ca-5511-0410-912e-c29ae57300e0
|
2009-03-08 20:38:51 +00:00 |
|
plagman
|
dec76c4907
|
Glue code between internal light source management and the game.
git-svn-id: https://svn.eduke32.com/eduke32@1227 1a8010ca-5511-0410-912e-c29ae57300e0
|
2009-02-14 14:31:58 +00:00 |
|
plagman
|
6fe53806c7
|
Fixes a crash when disabling high-res texture replacements.
git-svn-id: https://svn.eduke32.com/eduke32@1226 1a8010ca-5511-0410-912e-c29ae57300e0
|
2009-02-13 13:10:01 +00:00 |
|
plagman
|
ee105f1883
|
Proper hightile sprite calculation (fixes HRP explosion size).
git-svn-id: https://svn.eduke32.com/eduke32@1225 1a8010ca-5511-0410-912e-c29ae57300e0
|
2009-02-13 13:05:56 +00:00 |
|
plagman
|
46aa3d439a
|
Propagate build/polymost locals so that polymost_dorotatesprite can correctly draw HUD models on top of polymer.
git-svn-id: https://svn.eduke32.com/eduke32@1224 1a8010ca-5511-0410-912e-c29ae57300e0
|
2009-02-13 12:30:08 +00:00 |
|
plagman
|
6f945cdb58
|
Correct calculation of vertical aiming angle.
git-svn-id: https://svn.eduke32.com/eduke32@1223 1a8010ca-5511-0410-912e-c29ae57300e0
|
2009-02-13 12:16:21 +00:00 |
|
plagman
|
dba29b0fbe
|
Shader Model 3 "compatibility" for multilights. The light count will be arbitrarily limited and performance will be suboptimal, but it should work.
git-svn-id: https://svn.eduke32.com/eduke32@1222 1a8010ca-5511-0410-912e-c29ae57300e0
|
2009-02-05 08:56:59 +00:00 |
|
plagman
|
03b6403312
|
Very tentative attempt at backwards-compatible multi-lights.
git-svn-id: https://svn.eduke32.com/eduke32@1219 1a8010ca-5511-0410-912e-c29ae57300e0
|
2009-01-23 10:59:18 +00:00 |
|
plagman
|
91c6cf8f7a
|
Multiple light sources and repair the indentation fuckup caused by the transition to normalized integer types.
git-svn-id: https://svn.eduke32.com/eduke32@1212 1a8010ca-5511-0410-912e-c29ae57300e0
|
2009-01-16 05:03:12 +00:00 |
|
plagman
|
d1b9aa4c5c
|
I'm about to change the core lighting code pretty deeply and I'll be happy to have this revision as a working backup after I screw everything up.
git-svn-id: https://svn.eduke32.com/eduke32@1211 1a8010ca-5511-0410-912e-c29ae57300e0
|
2009-01-14 14:13:51 +00:00 |
|
terminx
|
9095a4911d
|
git-svn-id: https://svn.eduke32.com/eduke32@1206 1a8010ca-5511-0410-912e-c29ae57300e0
|
2009-01-10 07:38:50 +00:00 |
|
terminx
|
d6914ed108
|
ass rape
git-svn-id: https://svn.eduke32.com/eduke32@1205 1a8010ca-5511-0410-912e-c29ae57300e0
|
2009-01-09 09:29:17 +00:00 |
|
plagman
|
f062dafaed
|
Light my fire.
git-svn-id: https://svn.eduke32.com/eduke32@1170 1a8010ca-5511-0410-912e-c29ae57300e0
|
2008-11-29 20:16:19 +00:00 |
|
plagman
|
0c869a2254
|
Fullbright/glow material bit.
git-svn-id: https://svn.eduke32.com/eduke32@1169 1a8010ca-5511-0410-912e-c29ae57300e0
|
2008-11-27 23:00:57 +00:00 |
|
plagman
|
b50b229c1d
|
Detail map material bit.
git-svn-id: https://svn.eduke32.com/eduke32@1168 1a8010ca-5511-0410-912e-c29ae57300e0
|
2008-11-27 22:26:46 +00:00 |
|
plagman
|
f0c5278293
|
Added model animation interpolation in the material system.
git-svn-id: https://svn.eduke32.com/eduke32@1167 1a8010ca-5511-0410-912e-c29ae57300e0
|
2008-11-27 16:19:24 +00:00 |
|
plagman
|
2ac3fe6312
|
Extends materials to mdsprites and also fixes a bug where mdsprites got the wrong pal.
git-svn-id: https://svn.eduke32.com/eduke32@1165 1a8010ca-5511-0410-912e-c29ae57300e0
|
2008-11-26 19:31:26 +00:00 |
|
plagman
|
b60ee26a25
|
Moved sprite flipping in the material code and implemented polymost texture scaling.
git-svn-id: https://svn.eduke32.com/eduke32@1164 1a8010ca-5511-0410-912e-c29ae57300e0
|
2008-11-26 17:24:08 +00:00 |
|
plagman
|
e884cef8df
|
Factor the material code that's all over the place.
git-svn-id: https://svn.eduke32.com/eduke32@1163 1a8010ca-5511-0410-912e-c29ae57300e0
|
2008-11-26 14:22:07 +00:00 |
|
plagman
|
b8c7125222
|
Diffuse map bit and _prprograminfo for storing possible uniform and attributes locations.
git-svn-id: https://svn.eduke32.com/eduke32@1162 1a8010ca-5511-0410-912e-c29ae57300e0
|
2008-11-26 08:37:14 +00:00 |
|
plagman
|
31c1db57d7
|
Remove C99-style initializers from the polymer program bits.
git-svn-id: https://svn.eduke32.com/eduke32@1160 1a8010ca-5511-0410-912e-c29ae57300e0
|
2008-11-26 07:48:24 +00:00 |
|
plagman
|
0f385d3021
|
Material/program validation and diffuse modulation bit.
git-svn-id: https://svn.eduke32.com/eduke32@1154 1a8010ca-5511-0410-912e-c29ae57300e0
|
2008-11-25 11:32:49 +00:00 |
|
plagman
|
bd98e3676b
|
In a material world...
git-svn-id: https://svn.eduke32.com/eduke32@1153 1a8010ca-5511-0410-912e-c29ae57300e0
|
2008-11-25 10:42:22 +00:00 |
|
plagman
|
08923413f2
|
Polymer GPU program management stuff.
git-svn-id: https://svn.eduke32.com/eduke32@1152 1a8010ca-5511-0410-912e-c29ae57300e0
|
2008-11-25 09:07:38 +00:00 |
|
terminx
|
d9867cfaaf
|
Moved build to a subdir underneath the eduke32 dir to avoid people trying to compile from the build src dir by mistake
git-svn-id: https://svn.eduke32.com/eduke32@1105 1a8010ca-5511-0410-912e-c29ae57300e0
|
2008-10-20 03:09:19 +00:00 |
|