Commit graph

324 commits

Author SHA1 Message Date
Nahuel Rocchetti
3769801fd3 Add shaders to always compile list 2023-07-31 16:41:07 -03:00
Nahuel Rocchetti
12ddd6e691 Batch roads 2023-07-31 16:39:13 -03:00
Nahuel Rocchetti
465024f9ef Batching works! 2023-07-31 16:27:39 -03:00
Nahuel Rocchetti
941b9281f7 batching poc 2023-07-31 13:44:57 -03:00
Nahuel Rocchetti
516f94805d Fix lot imposter terrain colors 2023-07-31 02:25:30 -03:00
Nahuel Rocchetti
530f6eda43 Use Stencil Buffer to render imposter terrain 2023-07-31 01:50:55 -03:00
Ammar Askar
16547d704d Handle stdMatDiffCoef in StandardMaterial 2023-07-30 22:50:44 -04:00
Ammar Askar
ed0db98e7e Don't render gmdc groups not listed in the shpe 2023-07-30 22:05:36 -04:00
Nahuel Rocchetti
1d4589a408 Disable z write on alpha blend shaders 2023-07-30 21:44:40 -03:00
Nahuel Rocchetti
4d724abc86 Match TS2 terrain triangulation, remove imposter depth bias for now 2023-07-30 21:29:40 -03:00
Ammar Askar
c2db4dca31 half-fix imposter rotation 2023-07-30 16:43:26 -04:00
Nahuel Rocchetti
14a0617a14
Merge pull request #43 from ammaraskar/full_scenegraph_render
Start rendering full scenegraph graphs with all objects
2023-07-30 15:41:44 -03:00
Ammar Askar
074d7773ca Start rendering full scenegraph graphs with all objects 2023-07-30 14:31:51 -04:00
Nahuel Rocchetti
f36ceeda8a remove terrain type log 2023-07-30 14:07:22 -03:00
Ammar Askar
9fb3468998 Store other scenegraph info needed to render full scenes 2023-07-30 12:59:12 -04:00
Ammar Askar
8fd0c1d0e0 Add a Scenegraph json dumper to make debugging easier 2023-07-30 12:59:12 -04:00
Nahuel Rocchetti
8ea2c05f6d Adjust imposter depth offset 2023-07-30 13:33:22 -03:00
Nahuel Rocchetti
52978b6960 terrain roughness 2023-07-30 04:36:20 -03:00
Nahuel Rocchetti
2a7c08829a Fix road triangles, shadows on road 2023-07-30 04:00:14 -03:00
Nahuel Rocchetti
f04c9d692f Rotate road pieces 2023-07-30 03:00:17 -03:00
Nahuel Rocchetti
eb966f07cd Start road work 2023-07-30 01:26:50 -03:00
Nahuel Rocchetti
c049130ca2 some comments 2023-07-30 00:47:38 -03:00
Nahuel Rocchetti
23d0931fbf Fix memory leaks in roads 2023-07-30 00:42:45 -03:00
Nahuel Rocchetti
0c2094fa53 fix imposter clipping, add consts for lots n hood sizes. 2023-07-30 00:33:10 -03:00
Nahuel Rocchetti
ee40719509
Merge pull request #42 from ammaraskar/imposter_try
Start rendering lot imposters in neighborhood view
2023-07-29 22:33:41 -03:00
Ammar Askar
18bfa25ebe Fix tests 2023-07-29 21:25:50 -04:00
Ammar Askar
98e25ff34d Start rendering lot imposters in neighborhood view 2023-07-29 21:19:07 -04:00
Nahuel Rocchetti
42f97f4a51 adjust terrain tools 2023-07-29 21:58:51 -03:00
Nahuel Rocchetti
d165470021 Implement Unlit shaders for imposters 2023-07-29 21:15:59 -03:00
Nahuel Rocchetti
ca164af41f point filter some imposter textures 2023-07-29 20:54:10 -03:00
Nahuel Rocchetti
ce19152467 Refactor material system 2023-07-29 20:24:07 -03:00
Nahuel Rocchetti
d148117d15 dummy out compression. lot imposter test scene 2023-07-29 19:21:46 -03:00
Nahuel Rocchetti
13127b1137
Merge pull request #41 from ammaraskar/imposter_try
Start loading lot imposters
2023-07-29 18:12:35 -03:00
Ammar Askar
4a0b5b9cc2 Add codec to read lot info 2023-07-29 16:53:20 -04:00
Ammar Askar
c32541ba12 Remove more useless debug lines, fix 32 bit texture loading 2023-07-29 16:26:37 -04:00
Ammar Askar
2435117d96 Handle imposter materials and GMDC portions 2023-07-29 15:10:37 -04:00
Ammar Askar
06061f1d41 Remove old useless debug prints 2023-07-28 21:24:41 -04:00
Ammar Askar
a49242c413 Fix issues with scenegraph file names having wrong ResourceKeys 2023-07-28 21:07:57 -04:00
Ammar Askar
973679a5ab Start trying to load lot imposters 2023-07-28 15:31:50 -04:00
Nahuel Rocchetti
be6851464e replace scenegraph group id with variable where appropriate 2023-07-28 14:18:47 -03:00
Nahuel Rocchetti
6387334cf8 Merge branch 'master' of https://github.com/LazyDuchess/OpenTS2 2023-07-28 14:04:19 -03:00
Nahuel Rocchetti
9a5db9ea1c make hood rendering more accurate 2023-07-28 14:04:17 -03:00
Ammar Askar
8c05df8a6c Temporary ugly roads 2023-07-28 11:23:05 -04:00
Nahuel Rocchetti
7c9b8cac3c f2 smooth terrain tool 2023-07-28 04:29:04 -03:00
Nahuel Rocchetti
a9b19dc6e9 Fix mesh to floatarray conversion 2023-07-28 02:27:14 -03:00
Nahuel Rocchetti
bf76ce1c32 Update DBPFCompression.cs 2023-07-28 02:06:48 -03:00
Nahuel Rocchetti
4676f94211 revert compression changes 2023-07-28 02:05:06 -03:00
Nahuel Rocchetti
6bc5f9c37f revert compression changes 2023-07-28 01:57:28 -03:00
Nahuel Rocchetti
fb5a3361e9 Debug terrain editing 2023-07-28 01:14:05 -03:00
Nahuel Rocchetti
f74645bb30 Fix underwater fog in standardmaterial 2023-07-27 21:14:34 -03:00