16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 20:19:18 +02:00
Commit Graph

2930 Commits

Author SHA1 Message Date
milek7
8df7388db1 we do not use separate sampler binding, do not save them in imgui3 (also fixes gl3.0 context) 2021-01-30 01:36:39 +01:00
milek7
9b27b1e8c7 speed up MacOS builds by downloading dependencies 2021-01-25 01:47:38 +01:00
stele
ea6e757416 Shouldn't take any keyword as random condition anymore. 2021-01-25 00:36:41 +01:00
milek7
af39334c78 macos ci tmp 2021-01-25 00:30:46 +01:00
milek7
158c42b5f0 cleanup: remove VSDev camera implementation, remove symbols from CI because they are unreasonably big, mac CI tmp upload 2021-01-24 23:53:37 +01:00
milek7
610ae75b17 reenable precompiled header, add USE_LTO option, enable LTO in CI builds 2021-01-24 23:15:18 +01:00
milek7
3cb5a98b60 remove openglcolor.h from stdafx.h 2021-01-24 22:36:28 +01:00
milek7
90a6b7c3b5 handle different window/framebuffer sizes 2021-01-24 22:00:30 +01:00
stele
f92a355e89 Shader with only detail normalmap 2021-01-24 18:32:42 +01:00
milek7
34113bf7e7 Revert scaling changes. It breaks pickbuffers on Windows with DPI scaling. Needs more investigation.
This reverts commit d901177489.
2021-01-24 15:38:48 +01:00
milek7
ad7c0622f8 Revert "pick buffer debug"
This reverts commit a463846ce5.
2021-01-24 15:38:31 +01:00
milek7
a463846ce5 pick buffer debug 2021-01-24 14:37:10 +01:00
antonisauren
d1ecbdc8ff Sim (#11)
* Wheels animation distance changed to 200*D*LODbias

* Fixed spelling error in event syntax; old one remains for compatibility.

* Spelling error left in log text

* Zamiana metalic na floata z wazonym efektem.

# Conflicts:
#	shaders/light_common.glsl

* Detail normalmap shaders @Jan21

* Explicit type conversion

* Leftover metalic as bool

* Syntax error

* Normalmap sampling inside ParallaxMapping function
2021-01-23 22:24:14 +01:00
stele
c98ff244f9 Normalmap sampling inside ParallaxMapping function 2021-01-23 22:09:53 +01:00
stele
0ff083282d Syntax error 2021-01-23 22:09:53 +01:00
stele
4f11ead640 Leftover metalic as bool 2021-01-23 22:09:52 +01:00
stele
134e459dbd Explicit type conversion 2021-01-23 22:09:51 +01:00
stele
49f01b1690 Spelling error left in log text 2021-01-23 22:09:50 +01:00
stele
6b214b473f Fixed spelling error in event syntax; old one remains for compatibility. 2021-01-23 22:09:49 +01:00
stele
3ac9b0381f Wheels animation distance changed to 200*D*LODbias 2021-01-23 22:09:49 +01:00
milek7
7422dddd02 handle both old- and new-style mipmap generation 2021-01-22 22:35:37 +01:00
milek7
63edbe91c2 on second thought, checking for function pointers is more optimal 2021-01-22 22:27:15 +01:00
milek7
9e7c528114 make legacy gl2.0 work without BaseVertex extensions 2021-01-22 22:19:23 +01:00
milek7
78a15bf527 fix swapped arguments to glUniformBlockBinding 2021-01-22 19:07:30 +01:00
milek7
839b2116df fixes in imgui gl2 interaction with renderers 2021-01-22 02:36:49 +01:00
milek7
8ec29babf9 improve context creation, add gfx.gldebug 2021-01-22 00:26:29 +01:00
Piotr
d901177489 MacOS native build fixes (#9)
* Added fWindowXScale and fWindowYScale to support retina/hi-res displays on MacOS

* Fixed mouse handling for hi-res/retina displays on MacOS with legacy renderer

* Gated glfwGetWindowContentScale with endif checking glfw version
2021-01-21 23:39:28 +01:00
milek7
ee3e94bd35 add macos imgui gl2 build to CI 2021-01-21 23:28:34 +01:00
milek7
7cacab0dc8 add gfx.angleplatform ini setting 2021-01-21 22:15:57 +01:00
milek7
1374dec99c imgui2 fix, relax GL context requirements for legacy mode 2021-01-21 20:23:53 +01:00
milek7
0aa4293a5a cleanup imgui impl include as we're using glad anyway 2021-01-21 19:57:47 +01:00
milek7
56eba08a6f CI shader validation 2021-01-21 15:51:03 +01:00
milek7
3a3104a521 gles tweak 2021-01-21 02:37:43 +01:00
milek7
edd218e880 don't need to check for clip origin in imgui (check wasn't correct for GLES anyway) 2021-01-21 00:40:39 +01:00
milek7
4e868288ee add support for ETC2_EAC in .ktx files 2021-01-20 22:46:52 +01:00
milek7
d5fadaf98c properly check for gles multisampling 2021-01-20 19:49:36 +01:00
milek7
5aa8dfe1a1 use DrawElementsBaseVertexOES if available 2021-01-20 19:39:05 +01:00
milek7
f0b364bafe basic GLES working again 2021-01-20 19:29:50 +01:00
milek7
97d6547824 log simulation timestamp, add highp int precision to gles shaders 2021-01-20 18:06:37 +01:00
milek7
809f0c2077 macos tweaks 2021-01-19 20:38:27 +01:00
milek7
5fcd108b3d add MacOS ARM64 to CI builds 2021-01-19 15:47:33 +01:00
milek7
bba6c8410c try to fix MacOS CI 2021-01-18 22:52:15 +01:00
milek7
d08146ed5b pantograph PhysicalLayout fiz entry 2021-01-18 02:15:11 +01:00
milek7
d096c52b5b energy meter tweaks 2021-01-16 22:55:57 +01:00
Kamil Lewan
f48b976ed0 Update "Dynamic libraries" secion
- small fix in formating: end `/`
- add serialport link
- add `asio` lib
2021-01-16 22:25:11 +01:00
milek7
5d130c7fcf ..obviously only for vehicles that have pantographs at all 2021-01-16 19:52:30 +01:00
milek7
fdafcbc9be energy counter for electric traction vehicles 2021-01-16 19:31:48 +01:00
stele
d3ba7c10fc Detail normalmap shaders @Jan21 2020-12-13 21:24:36 +01:00
milek7
f481fbb7cc restore (presumably) correct sun/moon sizes 2020-12-02 02:40:07 +01:00
milek7
a182eec2a1 slightly better ui scaling 2020-12-02 01:49:58 +01:00