Commit Graph

15 Commits

Author SHA1 Message Date
df35c65995 Work on fixing compile. 2023-01-09 20:03:37 +01:00
0fd63f6cb6 Work on fixing compile. 2023-01-09 14:10:10 +01:00
7ccb1b7819 Work on fixing compile. 2023-01-09 01:16:33 +01:00
303343211f Fix early return in _setup_material_albedo. 2022-02-16 20:50:41 +01:00
165048ded4 Get the dimensions from the texture instead of the image in texture_get_uv_rect of the material cache. This fixes some of the uv related issues on the webgl backend. 2022-02-16 20:48:55 +01:00
d66c8c4ac7 Updated copyright headers. 2022-01-12 22:15:58 +01:00
2568178b42 Only call initial_setup_default on the main thread, and document that shader duplication can crash if done from a different thread. Removed the material mutex from the prop cache as it's not needed anymore. 2021-08-25 17:24:25 +02:00
51e3254bfc Tiled Wall support for PropInstance and PropinstanceMerger. Also fixed a double transform multiplication with MeshDataResources in PropInstanceMerger. 2021-08-18 18:48:13 +02:00
80f5a3ee86 Fix texture processing for sub props. 2021-08-10 17:12:55 +02:00
33cc53c881 Implement initial_setup_default for PropMaterialCache and PropMaterialCachePCM. 2021-08-10 10:06:13 +02:00
145e67481b Fix build. 2021-08-09 20:34:28 +02:00
f3d1e5278c Added initial_setup_default virtual to prop material cache. 2021-08-09 20:24:29 +02:00
7a3e3b20d4 Added a mutex with a public api to the material cache. 2021-08-09 17:21:19 +02:00
e34649c44f Don't check for PROPS_PRESENT in the props module. 2021-08-09 16:10:15 +02:00
6c8deb8956 Ported the MaterialCache class from Terraman. 2021-08-09 13:13:21 +02:00