Commit Graph

42 Commits

Author SHA1 Message Date
Regalis
ba49f59204 Some cleanup (mostly removing redundancies from the GameMain class) 2017-05-03 00:27:13 +03:00
Regalis
68a0320935 LightSources cache the light vertices in vertex buffers and only recalculate if needed 2017-02-27 00:41:50 +02:00
Regalis
f3f875e641 Calculating light volumes works now. Very poorly optimized at the moment, todo: cache volumes and only recalculate when needed 2017-02-26 21:33:32 +02:00
Regalis
844097b132 Initial steps in making the light rendering use light volumes instead of shadow volumes to allow rendering the lights in one batch.
So far just disabled shadow rendering and cleaned up some unnecessary stuff
2017-02-25 21:24:38 +02:00
Regalis
c33a4ba5e5 AmbientLightHulls optimization (only spread to adjacent hulls once, not once per every gap between the hulls) 2016-10-25 15:40:19 +03:00
juanjp600
7e6ef65eb3 Improved LOS effect
It's pretty inefficient (I need to figure out how to set up new shaders), and it might let the player see too much, but it looks way better than pure black.
2016-10-12 16:54:41 -03:00
Regalis
d8476d9371 Hull-specific ambient lighting: light sources increase the amount of ambient light in rooms and the light can spread to adjacent rooms through gaps. Allows making the default ambient light much darker without making shadows look too dark in fully lit subs. 2016-10-10 21:13:22 +03:00
juanjp600
e1296e4a8e Backported vsync changes from new-netcode, WIP hull visibility culling
The hull culling functions are there, they just aren't being used right now because there are some annoying bugs.
2016-10-02 22:24:31 -03:00
Regalis
f03d3b2f61 - included wrap_oal.dll in the build (may help with the OpenAL exceptions?)
- medics always have a high enough medical skill to fabricate any drug
- respawned characters get the same ID card tags they would've gotten if they had spawned inside the main sub
- highlighted characters glow in the dark
2016-08-22 21:06:01 +03:00
Regalis
581a7d5d9f Highlighted items glow in the dark, health bars are hidden when health is full, usernames and health bars are drawn at full brightness 2016-07-31 19:13:08 +03:00
Regalis
aae24b2b2c Better logic for determining which convex hulls are in the range of a lightsource (separate convexhull lists for each sub) 2016-06-30 17:50:02 +03:00
Regalis
38c5251005 Vertical docking port, docking sounds, water flows properly between horizontally docked hulls, falseoutput of signal check components can be changed, lighting and FOW works between hulls (todo: some logic for determining when to update light.HullsInRange when two subs are moving relative to each other) 2016-06-27 17:48:20 +03:00
Regalis
d884f84346 - disabled FOW blurring (made it possible to see through corners) and re-enabled penumbra
- fixed structures being assigned the misc category by default
- turrets don't require a barrel sprite
- OnImpact statuseffect is applied when a projectile hits something
- WIP depth charges
2016-05-13 18:00:31 +03:00
Regalis
5301a57108 Updating lightSource.hullsInRange when a convex hull is removed, some cleanup 2016-05-11 20:20:11 +03:00
Regalis
a9ceaeb8ec - fixed ruin doors being placed outside corridors if the corridor passes through multiple rooms
- fog of war isn't drawn or updated when not controlling a character
- fixed topmost cells in the level not being placed in the cellgrid array, causing them to be ignored when enlarging the main path for the sub
- fixed slices of the diving suit sprite "bleeding" into the torso sprite
2016-05-10 18:46:42 +03:00
Regalis
d5f6fff2c2 Lighting improvements: lightmap is drawn over all structures and blurred, flashlight item, OnContained statuseffects are also applied when the item is contained in a characterinventory 2016-05-07 09:16:29 +03:00
Regalis
03626c997b - Fixed shadows not being cast if the lightsource is outside the sub and the convexhull is not
- Option to change the texture of the "light sphere"
- Added "headlights" to the scooters
2016-05-03 00:27:48 +03:00
Regalis
4cda429ab0 LightSources can be assigned to limbs, glowing watcher 2016-05-01 18:47:44 +03:00
Regalis
6deab579a1 - fixed level generation algorithm placing waypoints at unreachable positions
- changes to drowning/suffocation logic (oxygen-value drops/rises at a fixed rate depending on whether there's enough oxygen available, instead of effects "stacking")
2016-03-09 16:57:11 +02:00
Regalis
ca7febfcab Option to hide waypoints and spawnpoints in editor, fixed cam "twitching" in multiplayer, additional light sprites for lightcomponents, wire bugfixes, fixed excessive camera shake when firing the railgun 2016-01-04 22:36:39 +02:00
Regalis
bc9ff32023 New pump & railguncont sprites, saving fixes (disappearing items fixed?), moving LightManager.ViewPos to railgun when aiming, generating waypoints outside sub, easier wire node editing, characters stand when using a controller, shiftsummary crew status scrolling, stuff 2016-01-04 01:03:37 +02:00
Regalis
8717a2259f Fixed LobbyScreen item grouping & light.hullsInRange updating 2016-01-02 16:40:24 +02:00
Regalis11
63f5a501e8 Optimization: Connection recipient caching, resetting cachedshadow data instead of creating a new one 2015-12-21 15:32:42 +02:00
Regalis
e10bffde9b Light rendering optimization 2015-12-19 16:02:05 +02:00
Regalis11
c74caadc42 Player characters arent AICharacters in multiplayer, lighting optimization 2015-12-13 18:02:43 +02:00
Regalis
17e8a2171f Progress + prettier ice walls 2015-12-12 13:44:05 +02:00
Regalis
78bccca4af Moar progress, fixed shadow/los/submarine misalignment issues 2015-12-09 19:29:53 +02:00
Regalis
c064c5eb50 Very unfinished attempt at changing the coordinate system to work relative to the level and to move the sub instead of the whole level 2015-12-03 19:42:11 +02:00
Regalis
1eaf22d3d0 v2.6.1 2015-11-22 00:40:37 +02:00
Regalis
35f05376b0 Thermal artifact, mid-quest message popups, sortmode from immediate to deferred, saving bugfixes 2015-11-19 19:21:48 +02:00
Regalis
24ed95cd68 Networking bugfixes, underwater scooter, fixed limbs going through walls when flipping the ragdoll 2015-11-13 00:52:42 +02:00
Regalis
e4a048a54a Removing the obstruction element without flickering, better looking (& working) radar 2015-11-01 22:10:31 +02:00
Regalis11
73bde75c2e Obstructing vision when wearing a diving suit or mask 2015-11-01 17:47:59 +02:00
Regalis
838022fcd5 Switch to Barotrauma & too many misc changes to remember 2015-10-16 18:11:58 +03:00
Regalis11
2bb5d41836 Further lighting optimization, fixed (railgun) controller movement, physicsbody collisioncategory changes, command room reactor controls in Vellamo 2015-10-14 22:10:37 +03:00
Regalis11
8df9133e84 Lighting optimization (caching shadow vertices & only checking hulls in range if the position or range of the light changes), ragdoll optimization, itemcomponent optimization, dragging stunned/dead characters 2015-10-11 21:04:42 +03:00
Regalis
97c3ac1412 RegEx, FindPickable & DrawShadows optimization 2015-09-27 17:02:15 +03:00
Regalis
f6966f06c3 WIP CrashReporter, misc refactoring 2015-09-19 15:14:47 +03:00
Regalis
29a6260d0f Non-WinForms launcher with auto updater 2015-09-11 22:13:44 +03:00
Regalis
5771bc7e02 Progress on tutorial 2015-08-11 20:23:48 +03:00
Regalis
0937c30f15 Server list, lighting/los optimization 2015-08-07 23:10:12 +03:00
Regalis
85b0cda4ca v0.1 2015-07-31 21:05:55 +03:00