1260 Commits

Author SHA1 Message Date
Jan
03dd0f06b2 Add set define proxy to set a define based on an expression 2022-09-06 21:45:55 +02:00
Jan
a36d1c430a Use SimpleExpressionInterpreter in DefinesStreamProxy and expand defines and defined expressions before parsing 2022-09-06 20:52:52 +02:00
Jan
7cce0e387e Add SimpleExpressionInterpreter that just parses a plain expression 2022-09-06 20:52:23 +02:00
Jan
6702856399 Make skipping lines in defines stream proxy configurable 2022-09-06 17:49:35 +02:00
Jan
379aabebd6 Add build log to templater 2022-09-06 00:36:28 +02:00
Jan
6a45031c96 Integrating templating into rawfile pipeline 2022-09-06 00:12:34 +02:00
Jan
f574204e61 Skip until first non empty line for templater 2022-09-05 23:51:09 +02:00
Jan
e8baf65134 Adjust templater output 2022-09-05 23:33:14 +02:00
Jan
d0155d426a Skip defines stream proxy empty lines 2022-09-05 23:30:06 +02:00
Jan
1464329245 Add raw templater 2022-09-05 23:25:11 +02:00
Jan
4ef38264c8 Rename defines if directive parsing to defines directive parsing 2022-09-05 20:17:31 +02:00
Jan
b2313c6415 Add missing algorithm header 2022-08-21 12:49:24 +02:00
Jan
3bef176676 Fix wrong blend ops for screen add blend func 2022-08-21 12:29:04 +02:00
Jan
457c3518ad Set passthrough on colorWrite 2022-08-21 01:38:44 +02:00
Jan
59d829b789 make alphafunc passthrough by default for default2d 2022-08-21 01:25:29 +02:00
Jan
1757caa33d fix statemap layout for iw4 for wireframe 2022-08-21 01:25:04 +02:00
Jan
b4fbbb6bbc Fix not dumping stencil values in json correctly 2022-08-21 01:24:46 +02:00
Jan
db60287a7b Apply statemaps to materials 2022-08-20 19:23:49 +02:00
Jan
c5cfdfde89 Add statemap validation in debug mode 2022-08-20 15:11:08 +02:00
Jan
2dd8660824 Add supplemental data for iw4 statemap layout 2022-08-20 14:37:05 +02:00
Jan
b93707dfe5 Correctly parse state map default case 2022-08-13 21:13:07 +02:00
Jan
16218e2bce Add passthrough gammaWrite rule to all state maps 2022-08-13 21:12:51 +02:00
Jan
fe59cbdee1 Make sure state maps define rules for all entries 2022-08-13 21:12:34 +02:00
Jan
189c82a787 Make Linker and Unlinker projects depend on raw 2022-08-13 21:12:06 +02:00
Jan
595af125b9 Load state maps when loading techniques 2022-08-13 20:50:40 +02:00
Jan
6d15ddcd08 Dump techniques with state map "passthrough" by default 2022-08-13 20:50:25 +02:00
Jan
686102a59e Add game pattern to search paths 2022-08-13 20:49:33 +02:00
Jan
53bfcadea8 Add StateMap parsing 2022-08-13 19:26:33 +02:00
Jan
31b679eedf Replace copy file commands with platform independent ones 2022-08-13 14:32:01 +02:00
Jan
886bcfeaf8 Add non static evaluation for simple expressions 2022-08-13 14:13:11 +02:00
Jan
403d7f2c44 Add statemap raw files for iw4 2022-08-13 12:24:07 +02:00
Jan
364d801d3f fix compilation on gcc 2022-08-07 19:23:30 +02:00
Jan
63e9dc0c43 Material loading effect base 2022-08-07 19:17:04 +02:00
Jan
032cfed6e1 Fix AssetDumperTechniqueSet 2022-08-07 19:05:44 +02:00
Jan
a8bb1a5ead Load particle cloud materials 2022-08-07 15:45:40 +02:00
Jan
c55f759793 Fix asset dumper already assuming statemaps are in use 2022-08-07 15:45:28 +02:00
Jan
713eb77230 Add material loading for tools materials 2022-08-07 12:06:02 +02:00
Jan
f87039d324 Rename base statebits to base state bits 2022-08-06 23:11:24 +02:00
Jan
066e9af1bc fix compilation on gcc 2022-08-06 19:10:26 +02:00
Jan
1e546d4a19 Write broken material statebits writing 2022-08-06 19:08:45 +02:00
Jan
f3b175ab08 Handle material alphatest gt0 2022-08-06 18:59:13 +02:00
Jan
c010355d4a Dump material tile and filter properties 2022-08-06 18:47:28 +02:00
Jan
0179d61451 Fix json material dumping alpha test 2022-08-06 18:46:49 +02:00
Jan
028d8fde7d Skip material loading for other types than 2d 2022-08-06 16:15:29 +02:00
Jan
347c1b3d68 Fix material loading sortkeys and cameraRegion 2022-08-06 15:40:00 +02:00
Jan
09fdb95927 TechsetStateMapCache stub 2022-08-06 11:05:34 +02:00
Jan
5771044c08 Material dumping and loading stuff 2022-08-06 10:52:52 +02:00
Jan
a3a01660d6 Add TechsetDefinitionCache to cache loaded techset definitions 2022-08-06 10:52:35 +02:00
Jan
b474109452 depthtest, depthwrite, polygonOffset for material loading 2022-07-24 13:54:58 +02:00
Jan
dd09027f0b CullFace loading material 2022-07-23 22:16:46 +02:00