pwarszawski
e3584e706b
Glare of light points: the glare in a function of its own, the define of its buffer with std::format
...
Render_Glare draws the glare around a light point, so Render_Alpha keeps its nesting. The define of GLARE_SSBO_BINDING is
appended with std::format after the chain of the common defines, the luminance is cast to float explicitly (the same value) and
the empty default of walk_light_reference says why it's empty.
2026-11-15 17:05:11 +01:00
pwarszawski
2dd53bc97b
Make the glare of a FreeSpotLight as bright as the part of its point seen
...
The glare was drawn whole or not at all, depending on whether any sample
of the light point passed the depth test. The point is a few pixels
wide, so where it sits at the edge of something in front of it (the
hood of the lamp, a mast, a wire) the large glare switched on and off
as the camera moved and the signal seemed to flash.
The opengl renderer now counts the samples of the point which are seen
and, drawing the point once more without the depth test and without
colour, all of its samples. The gpu writes both counts into a small
storage buffer (GLARE_SSBO_BINDING) and billboard.frag scales the glare
by their ratio, so a partly hidden lamp gets a fainter glare instead
of a flashing one. The conditional render still leaves out the glare
of a point not seen at all. The vulkan renderer is unchanged.
2026-11-14 17:46:40 +01:00
Hirek
0bc29af650
Merge remote-tracking branch 'origin/feat/switch-fastenings' into feat/renderers-cleanup
2026-10-31 17:13:45 +01:00
Hirek
96100f1155
Draw the cab probe with all the lights of the cab
2026-10-29 20:05:03 +01:00
Hirek
e8a90507f0
Light the cab with the sun coming in through its windows
2026-10-28 12:19:43 +01:00
Hirek
2a876befb0
Shade the sky and the sun by the scenery around the camera instead of the track environment flags
2026-10-27 16:02:36 +01:00
Hirek
9dde5b0e5e
Take the ambient occlusion into the lighting and add a probe of the cab
2026-10-27 13:23:52 +01:00
Hirek
719c729929
Improve rain shader
2026-10-26 15:51:56 +01:00
Hirek
f20b1a3071
Replace cubemap scenery reflections with SSR, add Vulkan ray traced reflections
2026-10-25 13:54:49 +01:00
Hirek
252b9373ea
Add gfx.antialiasing (off, msaax2/x4/x8, taa) with temporal anti-aliasing in the GL 4.6 and Vulkan renderers
2026-10-25 05:17:41 +01:00
Hirek
bd589f272d
feat(vulkan): vulkan 1.4 core with the user interface and the launcher, shaders split into ogl46/vk14 with SPIR-V binaries loaded first
2026-10-24 05:47:11 +02:00
maj00r
85b76acca5
perf(sleepers): the instances of the sleepers and timbers of a track sent to the gpu once, as it's laid, and kept there in a buffer of their own; in each pass the runs of them in sight turned by the modelviews of their cells into the instance buffer of the frame by a compute pass, one dispatch and one barrier a pass, and drawn in one instanced draw for each model, part and level of detail, in place of the cpu turning every instance every frame
2026-10-24 01:40:34 +02:00
Hirek
867497b658
Simulate and light the smoke on the GPU and make rain and snow of particles
2026-10-20 16:44:27 +02:00
Hirek
8c00b0bc3d
Fit the cascades of the sun shadows to the depth of the view
2026-10-19 12:02:01 +02:00
Hirek
bc4df5567f
Cull and draw the sleepers of tracks on the GPU with the instances
2026-10-18 03:18:26 +02:00
Hirek
494304903f
Draw the instances from the GPU with multi draws, the model block of each draw read by its number
2026-10-18 00:47:05 +02:00
Hirek
27e5c07837
Add screen-space contact shadows for the sun, lamps and headlights
2026-10-17 03:11:47 +02:00
Hirek
6ee628aaa5
Steady the volumetric fog and add a switch for the old headlight beams
2026-10-16 23:23:51 +02:00
Hirek
2be85410ce
Draw volumetric clouds, their shadows, a volumetric fog and catalogue stars from a new weather system in the GL 4.6 renderer
2026-10-16 21:44:47 +02:00
Hirek
d509775269
Cast shadows of vehicle headlights from the scene in their beam in the GL 4.6 renderer
2026-10-16 14:13:36 +02:00
Hirek
466cb5339e
Draw instances from the GPU culling with indirect draws, occlusion culling and a depth prepass
2026-10-16 12:54:52 +02:00
Hirek
2f0a06b98e
Cast shadows of scenery lamps from the scenery, nearby vehicles and the cab in the GL 4.6 renderer
2026-10-16 11:32:45 +02:00
Hirek
06d7b9e9f0
Cast shadows of the cab lamp from the cab in the GL 4.6 renderer
2026-10-16 02:43:27 +02:00
Hirek
4d3a401aae
Cull and assign LOD to instances in a compute pass
2026-10-16 01:08:44 +02:00
Hirek
9277c28805
Cull instances by compact records and draw them from a shader storage buffer
2026-10-16 00:37:54 +02:00
Hirek
ce725c3d62
Add sky light, physical atmosphere, auto exposure and bloom to the GL 4.6 renderer
2026-10-15 22:16:41 +02:00
Hirek
9f2ae071a6
Use clustered light lists in forward shading
2026-10-15 16:16:53 +02:00
Hirek
6aa6e505e8
Cull lights into clusters in a compute pass
2026-10-15 15:21:21 +02:00
Hirek
f85cf5fe52
Build view-space light cluster grid in a compute pass
2026-10-15 14:16:55 +02:00
Hirek
c0f45184b8
Move light data from UBO to std430 SSBO
2026-10-15 13:20:59 +02:00
Hirek
3419666070
scale/endscale/localscale per node model
2026-05-10 13:12:49 +02:00
Hirek
587077629f
Enable instancing
2026-05-09 23:29:20 +02:00
Wls50
b4737712de
support cabview rain effect
2025-11-21 22:43:24 +01:00
milek7
56eba08a6f
CI shader validation
2021-01-21 15:51:03 +01:00
milek7
1c40578d26
ubo padding fixes
2020-10-21 17:59:27 +02:00
tmj-fstate
2ce3091e8f
line breaker cab control enhancement, minor bug fixes
2020-02-02 22:30:36 +01:00
tmj-fstate
14699a96de
build 200101. opengl 3.3 renderer projected headlights
2020-01-01 20:41:05 +01:00
tmj-fstate
63619d13a6
opengl 3.3 renderer cascaded shadow maps, minor gfx renderer optimizations
2019-12-05 17:19:49 +01:00
tmj-fstate
194400e1af
inversed view transform uniform
2019-11-29 16:20:21 +01:00
tmj-fstate
a74402804d
gfx renderers standardization, bug fixes
2019-11-07 00:28:59 +01:00
tmj-fstate
0fd23a53d9
milek7/sim branch opengl 3.3 renderer import
2019-10-26 15:17:09 +02:00