Commit Graph

90 Commits

Author SHA1 Message Date
Emil Axelsson 4c2f72226f Performance Optimizations (#450)
* Make derived transform classes less involved in simulation state
* Add performance measurements in openspaceengine
* Avoid redundant transformation lookups
* Fix bug causing redundant calls to GPULayerManager::bind
* Move water reflectance to alpha component of normal buffer. Remove otherData buffer.
2018-01-08 09:43:41 +01:00
Alexander Bock dcfef3557f Update copyright header 2017-12-29 20:11:22 +01:00
Jonathas Costa f6ab44ee12 Improved previous correction. 2017-12-13 15:32:06 -05:00
Jonathas Costa 5fe200ad7f Fixed squared texture noise on surface' planets when seeing from far away. 2017-12-13 14:53:57 -05:00
Jonathas Costa 7b956aa214 Fixed bug in AMD cards. 2017-12-12 18:08:07 -05:00
Jonathas Costa 676db460cb Commented testing line. 2017-11-30 12:43:23 -05:00
Jonathas Costa ae9da60356 Improve Earth's night side. 2017-11-30 12:38:50 -05:00
Jonathas Costa 9885c00beb Performance improved atmosphere. 2017-11-07 15:57:25 -05:00
Jonathas Costa 089cfe727f Improved ATM perfomance (still working on it). Debugging billboards alingment (in progress). 2017-11-03 17:10:03 -04:00
Jonathas Costa 45df1d498a Fixed ATM acne after changing the MSAA patterns. 2017-11-02 15:05:32 -04:00
Jonathas Costa cb6ae2500e Added control for emitted ground radiance and fixed bug in MSAA pattern. 2017-11-01 15:55:41 -04:00
Jonathas Costa cbe1e870a5 Added night layer with new atm. 2017-10-31 14:30:33 -04:00
Jonathas Costa ce034022b4 New MSAA Atmosphere. 2017-10-27 16:26:25 -04:00
Jonathas Costa a925d0646a Added lunar eclipses back. 2017-10-19 11:41:36 -04:00
Jonathas Costa 6fdb587cca Fixed precision issue in eclipses. Removed unused code for atm with renderableplanets. 2017-10-18 20:29:52 -04:00
Jonathas Costa b91a826d70 Added Eclipses for NewAtmosphere (Missing change spaces for precision). 2017-10-18 02:09:14 -04:00
Jonathas Costa c6d844f735 Fixed atmosphere blinking with new NVidia drivers and some systems. 2017-08-21 15:07:17 -04:00
Jonathas Costa d4cf4a5f22 Important comments for development. 2017-08-16 15:27:05 -04:00
Jonathas Costa 758ee8bd6d Pull request changes. 2017-08-15 18:15:56 -04:00
Jonathas Costa efeca7eac6 Atmosphere frustum culling and distance culling enabled. 2017-07-27 13:42:15 -04:00
Jonathas Costa 9812abb487 Added an option to have the sun following the camera when using an ATM. Removed unused code. Added missing comments. 2017-07-25 15:55:52 -04:00
Jonathas Costa f7cddbad7f Fixed background exposure controls. 2017-07-24 22:34:41 -04:00
Jonathas Costa ff48f24c96 Adding satellites with ATM. 2017-07-11 17:46:15 -04:00
Jonathas Costa 39b90863d6 Fixed HDR controls for multiple atm's. 2017-07-11 14:52:59 -04:00
Jonathas Costa 18d8612a8a Initial implementation of multiple ATM's (still missing frustum culling and other small details). 2017-07-10 17:21:33 -04:00
Jonathas Costa e237b6f8e6 Adding eclipse shadows to GlobeBrowsing and ATM. 2017-07-05 14:54:45 -04:00
Jonathas Costa 6f8f922335 Initial Ozone Layer absorption. 2017-06-27 15:46:04 -04:00
Jonathas Costa 032c9c69d5 Fixed bug in Fresnell reflectance with Sun below horizon. 2017-06-27 15:45:24 -04:00
Jonathas Costa 4ddf98472a Fixed bug in color when rendering other object in front of atm. 2017-06-23 13:37:52 -04:00
Jonathas Costa bded8360e9 Improved performance (temp). 2017-06-21 17:40:43 -04:00
Jonathas Costa 6af9162ec2 Added a background exposure control for atm scenes. 2017-06-20 14:29:29 -04:00
Jonathas Costa 2b99d1a2c2 Fixed bug introduced with new rendering method for G-Buffer. 2017-06-16 14:04:21 -04:00
Jonathas Costa 5742e09335 Removed unused files and started cleanup of atm module for future merging with master. 2017-06-14 15:45:42 -04:00
Jonathas Costa 14155f6322 Fixed Fisheye rendering for RenderablePlanet atm. 2017-06-14 15:13:53 -04:00
Jonathas Costa 70f798c2ef Fixed ATM in RenderablePlanet. No jittering anymore. Still needs reflectivity and clouds. 2017-06-09 18:26:19 -04:00
Jonathas Costa 784ae962d4 Ozone Layer (still needs work). 2017-06-07 15:14:49 -04:00
Jonathas Costa c28b782ab5 Improved HDR and initial implementation of the Ozone Layer (still needs some work). 2017-06-05 17:02:01 -04:00
Jonathas Costa d4dcedc663 Fixed bug in fisheye rendering. 2017-06-04 11:44:24 -04:00
Jonathas Costa 1dbb65059c Added missing data for Mars and stars rendering inside atm is based on observer height. 2017-06-02 17:37:25 -04:00
Jonathas Costa 5685b2183d Changed G-Buffer. 2017-06-02 12:29:09 -04:00
Jonathas Costa 3638fbbe6e Added new tone mapping operator. 2017-06-02 10:55:38 -04:00
Jonathas Costa 7a4d2f8cb9 Fixed water reflectance and added gamma control to ATM (Still need the add the option to turn off the atm in globebrowsing). 2017-06-01 15:17:37 -04:00
Jonathas Costa cfdff58ea6 Added Gamma Correction Control. 2017-06-01 13:39:35 -04:00
Jonathas Costa 47cb1cb17f Changed Tone Mapping Operator. 2017-06-01 11:49:14 -04:00
Jonathas Costa e3e1155a0e Enabled G-Buffer for space items. 2017-05-31 17:12:44 -04:00
Jonathas Costa c87527e792 Fixed bug in shader. 2017-05-31 16:41:02 -04:00
Jonathas Costa 0cb741e024 Improved code and changed some hdr parameters. 2017-05-30 15:42:25 -04:00
Jonathas Costa c37cf66a52 Reflectance not working correctly yet. 2017-05-30 15:11:14 -04:00
Jonathas Costa 96e9067eed Changes to allow the correct reflectance inside ATM (code commented right now). 2017-05-30 14:23:06 -04:00
Jonathas Costa 2854435458 Fixed normal in renderable planet. Added different tone mappings (not enabled by default). 2017-05-30 11:55:44 -04:00