Commit graph

1343 commits

Author SHA1 Message Date
in0finite
fda799b8a2 optimizations and refactoring 2021-06-25 23:00:33 +02:00
in0finite
4aa60fbae4 add param 'rotateLightsToFaceCamera' 2021-06-25 22:24:46 +02:00
in0finite
65eb14afad use arrays 2021-06-25 22:16:27 +02:00
in0finite
417272e027 ... 2021-06-25 22:12:46 +02:00
in0finite
877ad97e04 determine time offset based on rotation of object 2021-06-25 22:11:26 +02:00
in0finite
a214441b94 can now correctly detect red/yellow/green lights 2021-06-25 21:30:31 +02:00
in0finite
a7b7ac1e9b use InvokeRepeating() 2021-06-25 20:28:11 +02:00
in0finite
66391fcb58 fix infinite loop 2021-06-25 19:13:40 +02:00
in0finite
2193aeaea1 traffic lights should be working 2021-06-25 18:56:52 +02:00
in0finite
06a277acd2 update lights in StaticGeometry 2021-06-25 15:51:00 +02:00
in0finite
fc6af2392e implement world lights 2021-06-25 14:37:24 +02:00
in0finite
08ccd6f9ee ... 2021-05-04 21:28:47 +02:00
in0finite
d59c2c7ede remove light game objects 2021-05-04 21:24:13 +02:00
in0finite
d73fd9e163 display day time UI even when local ped is not alive 2021-05-04 21:21:13 +02:00
in0finite
f72cd743a3 display current time in UI 2021-05-04 20:55:01 +02:00
in0finite
197089aab3 (de)activate time objects based on current time 2021-05-04 19:54:47 +02:00
in0finite
49596eb613 load TOBJ objects 2021-05-03 21:24:48 +02:00
in0finite
71fb48f481 fix sync 2021-05-03 04:18:59 +02:00
in0finite
613767d6d7 attempt to sync 2021-05-03 03:00:22 +02:00
in0finite
d5f3657151 ... 2021-05-03 02:00:55 +02:00
in0finite
50e8cef69a rename class 2021-05-03 01:59:33 +02:00
in0finite
46e76e7895 rename file 2021-05-03 01:57:34 +02:00
in0finite
bcf74a342d update light angle every frame 2021-05-03 01:55:41 +02:00
in0finite
91f136b97c add time scale to day-time window 2021-05-03 01:54:26 +02:00
in0finite
4fff983c87 ... 2021-05-03 01:53:50 +02:00
in0finite
2b45010837 change time scale 2021-05-03 01:53:18 +02:00
in0finite
6b807e2d98 ... 2021-05-03 00:17:08 +02:00
in0finite
39db523a21 ... 2021-05-03 00:11:47 +02:00
in0finite
0cde5b1025 some cleanup 2021-05-03 00:09:24 +02:00
in0finite
b0810e9bfa cache shader property id 2021-05-02 23:55:00 +02:00
in0finite
2da430251c remove unused code 2021-05-02 23:51:37 +02:00
in0finite
2fc4d58bb6 assign "_HasNightColors" to materials which have night colors 2021-05-02 23:45:02 +02:00
in0finite
e64f7acf5a use custom material for skybox 2021-05-02 23:07:16 +02:00
in0finite
4fe958d86b ... 2021-05-02 23:04:24 +02:00
in0finite
077d34e79b add night colors to other shaders 2021-05-02 23:03:00 +02:00
in0finite
378a92794d ... 2021-05-02 23:02:04 +02:00
in0finite
b459f62e73 implement daytime manager 2021-05-02 23:01:31 +02:00
in0finite
30cd22057c don't log error 2021-04-26 00:44:14 +02:00
in0finite
b963a95d85 wip 2021-04-26 00:43:30 +02:00
in0finite
38e1d4f0b2 set mesh vertex colors 2021-04-25 23:16:16 +02:00
in0finite
1a118064b5 remove unused method 2021-04-25 21:24:23 +02:00
in0finite
25c3954256 load night colors 2021-04-25 21:15:53 +02:00
in0finite
b27bcac9a3 display color field 2021-04-18 00:18:49 +02:00
in0finite
0a3d2a53dc create inspector for LightSource 2021-04-18 00:08:49 +02:00
in0finite
f87eb89c63 create LightSource script 2021-04-18 00:07:49 +02:00
in0finite
0a3a11a5e0 use unity color 2021-04-17 22:17:52 +02:00
in0finite
91491a19f1 load lights info 2021-04-17 22:15:07 +02:00
in0finite
a3a8d5cfdf add script for building for Android from command line 2021-03-05 23:19:26 +01:00
in0finite
072b7f128e change plugins folder name 2021-03-05 21:55:56 +01:00
in0finite
d5d15876fd load plugins from Start() 2021-03-05 21:55:09 +01:00