Commit Graph

87 Commits

Author SHA1 Message Date
Milek7
9339c1b8ae Merge pull request #63 from wls50/master
update vertex structure to add user data for custom shader use
2024-09-05 01:32:53 +02:00
Ryba04
a63273d470 fix color.frag
Fixed an error found by Michausto and JAN21
2024-07-10 22:59:03 +02:00
Wls50
dba0a035fd add user data vector to basic_vertex
update t3d, e3d & sbt specs accordingly
update node model to shape conversion to support indexed meshes
2024-06-30 16:13:19 +02:00
milek7
30da449423 assume skydome data is in sRGB in shader renderer 2021-01-30 23:14:24 +01:00
milek7
42cd390bc5 Add mat_default_detail.frag shader 2021-01-30 17:05:08 +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
milek7
f0b364bafe basic GLES working again 2021-01-20 19:29:50 +01:00
milek7
ee5551a424 try to improve motion blur 2020-12-01 01:45:48 +01:00
milek7
30dec00c35 vr: draw main window tex on nice quad 2020-11-18 23:46:24 +01:00
milek7
79b0216b55 use vr hiddenarea mask 2020-11-18 22:18:28 +01:00
milek7
29f8f91ad8 Merge remote-tracking branch 'tmj/master' into sim 2020-10-18 23:35:14 +02:00
tmj-fstate
54b648fb5b shader reflection color calculation tweak 2020-08-12 20:57:57 +02:00
stele
c4945d3f32 Fixed "param_glossiness" missing from final gloss formula in materials utilising gloss maps. 2020-07-16 18:05:37 +02:00
stele
758b3bfe78 Merge branch 'master' of https://github.com/tmj-fstate/maszyna into tmj-master 2020-03-09 19:15:01 +01:00
stele
3e7537d88c Fragment color multiplied by ambient color instead of luminosity. 2020-03-09 19:05:23 +01:00
tmj-fstate
a8b47c3c97 Merge pull request #11 from antonisauren/tmj-master
Specular/glossines/metalic mapping added to all fragment shaders
2020-03-01 03:21:03 +01:00
tmj-fstate
09ad3dbacd application component state switches, chromatic aberration post process filter, minor ai logic tweaks, minor cab controls tweaks, minor bug fixes 2020-03-01 03:16:12 +01:00
tmj-fstate
642b8fb623 compartment lighting vehicle subsystem, submodel diffuse impact on ambient lighting, minor gfx renderer bug fixes, minor ai logic tweaks 2020-03-01 03:09:55 +01:00
stele
879f3bb360 Specular/glossines/metalic mapping added to all fragment shaders 2020-02-23 10:36:15 +01:00
tmj-fstate
6b1ab6c125 opengl 3.3 renderer shaders 2020-02-21 22:50:52 +01:00
milek7
e697b01296 python leak fix, python touchscreens 2019-11-26 22:20:46 +01:00
milek7
43fc2899aa add slight shadow bias (needs futhrer work) 2019-10-08 00:20:45 +02:00
milek7
fc13d6c2a9 gfx.extraeffects setting, parallax shader changes 2019-09-27 20:07:52 +02:00
milek7
2f41feb65b prevent parallax shader from calculating insane layer count 2019-09-27 19:24:32 +02:00
milek7
a3abdeac63 fixes for gles mode 2019-09-27 13:46:33 +02:00
milek7
3b623c4506 smoke shader fix 2019-09-19 19:27:42 +02:00
milek7
e0d828b22e smoke fog fix 2019-09-19 18:43:19 +02:00
milek7
0ed35ed254 Merge branch 'gfx-work' into sim 2019-08-08 15:56:06 +02:00
milek7
37fea6db7a Merge branch 'milek-dev' into gfx-work 2019-08-08 15:35:25 +02:00
milek7
8e7eba50c1 Merge branch 'gfx-work' into sim 2019-07-31 22:38:38 +02:00
Milek7
a955244f9f Merge pull request #7 from antonisauren/gfx-work
Parallax occlusion shader
2019-07-31 22:38:12 +02:00
stele
934044e0a9 Z-normal reconstruction for water shader. 2019-05-03 17:48:42 +02:00
stele
410e1452f6 Cleanup of vertex shader by @tmj.
2-channel normalmaps with Z-component reconstruction.
Normal vectors passed from fragment shaders to lightning calculations.
2019-05-03 17:32:46 +02:00
stele
158ebb9c70 Parallax occlusion shader 2019-05-02 22:24:44 +02:00
milek7
691f0f28b2 changed map colors 2019-04-02 13:10:36 +02:00
milek7
33adffb614 map visualization features 2019-04-02 01:21:49 +02:00
milek7
4383b0c7e0 geometry shaders, map poi icons 2019-03-17 20:30:25 +01:00
milek7
ef82aa8589 splittable python windows 2019-03-13 01:03:38 +01:00
milek7
939aa73384 switch state visualisation, semaphore tracking for map purposes 2019-02-22 22:21:23 +01:00
milek7
52ff1ecb98 display train names on map 2019-02-18 00:07:09 +01:00
stele
8aca8bffe4 Fog applied to line objects. 2018-12-24 23:50:17 +01:00
stele
141e812308 Using diffuse texture in water shader. 2018-12-22 19:06:39 +01:00
stele
b7d6d80225 Added water shader 2018-12-22 17:34:03 +01:00
stele
89231426e3 Changed reflection value to normalmaps alfa.
Fixed order in color conversion in stars shader.
2018-12-22 16:44:22 +01:00
milek7
c0d824a6bd tune headlight parameters, refactor config window 2018-12-09 21:14:31 +01:00
milek7
bd8c5ed59a debug configurable headlight 2018-12-09 19:55:53 +01:00
milek7
fbcd933d56 rendering python to individual windows 2018-10-25 18:07:43 +02:00
milek7
56e9fa537b restore depth based world mouse position 2018-10-24 18:25:29 +02:00
milek7
6cf93f5a6d revert bad changes 2018-10-18 21:18:52 +02:00
milek7
48d5a2f591 add missing shaders 2018-10-18 20:42:00 +02:00