250 Commits

Author SHA1 Message Date
yvt
024d39fdcd Fix to compile on GCC 2017-12-15 23:12:48 +09:00
yvt
49cc61c573 Use more smart pointers and modern language constructs 2017-12-15 23:05:08 +09:00
David Carlier
4864f07937 Reducing some compilation warnings. 2017-11-18 21:15:07 +00:00
yvt
ca892698e3 Minor fixes
- Remove unnecessary `volatile`
- Replace some operations with atomic ones for soundness
- Clean up
- Avoid certain UBs
- Typo
2017-06-25 21:15:27 +09:00
roboman2444
08add66f94 added geometry shader support. Untested, and i dunno if there is any real use for it 2017-05-21 21:01:32 -04:00
yvt
5b76e1420b Fix #584 2017-02-27 01:59:53 +09:00
yvt
61a2647697 Add r_saturation 2017-02-22 08:19:22 +09:00
yvt
0ce8d07311 Latch r_hdr’s effect to bloom effect 2017-02-22 07:18:49 +09:00
yvt
324ad5bc94 Fix renderer crash caused by changing r_cameraBlur at runtime 2017-02-20 03:11:43 +09:00
yvt
5ca7d5ffd5 Little fix 2017-02-18 22:53:32 +09:00
yvt
6279c9e83c Visual adjustment 2017-02-18 22:50:03 +09:00
yvt
09a4efa402 Fix fog blending for sprites 2017-02-18 19:45:21 +09:00
yvt
12e6aec41f Fix SSAO 2017-01-20 00:27:36 +09:00
yvt
54d9f41643 GLWaterRenderer: use EXT_texture_array to save texture units 2017-01-14 21:31:49 +09:00
yvt
ad286d3930 Reduce the default quality of SSAO for better performance 2017-01-14 04:44:11 +09:00
yvt
f7f55c18d0 GLProfiler enhancements 2017-01-11 23:30:53 +09:00
yvt
83f584b607 Fix #541 2017-01-11 22:18:14 +09:00
yvt
2c10bd3d24 Fix #114
Be careful; blending can mess with the alpha channel!
2017-01-11 22:06:51 +09:00
yvt
0b5e880d5b Change GLProfiler font 2017-01-08 17:54:47 +09:00
yvt
04337d58e5 More GLProfiler probe points 2017-01-08 17:46:45 +09:00
yvt
66621fe73c Fix to compile with GCC 2017-01-08 07:07:49 +09:00
yvt
27569e9324 GLProfiler: Show the results in OSD
Fixes #514.
2017-01-08 06:55:27 +09:00
yvt
0eecce02a8 GLProfiler: GPU time 2017-01-08 06:23:40 +09:00
yvt
844bf5e587 GLProfiler: average results over multiple frames 2017-01-08 04:15:59 +09:00
yvt
88f03f01e9 Refactoring
- Mark overriding virtual functions with `override`
- Get rid of warnings
2017-01-05 03:48:11 +09:00
yvt
0a21093b26 More ambient light 2017-01-05 01:59:19 +09:00
yvt
b768f74980 Fix camera blur 2017-01-04 23:27:06 +09:00
yvt
09ec6be7e5 Improve SSAO quality 2017-01-04 04:26:23 +09:00
yvt
f9d93208ac Screen Space Ambient Occlusion 2017-01-01 17:30:13 +09:00
YVT
0a9bf16050 Merge pull request #510 from roboman2444/master
Added depth-only prepass.
2017-01-01 16:52:50 +09:00
roboman2444
b0451a3920 turns out it was running in optimize voxel model anyway, changed to GLEQUAL, relizechunks only runs during prepass (see todo)) 2016-12-31 23:22:32 -05:00
yvt
da2bd55f52 Camera blur filter now tracks FoV changes 2017-01-01 04:42:00 +09:00
roboman2444
51474ad723 Added depth-only prepass for non-optimized 2016-12-31 00:30:37 -05:00
YVT
2d0ae3b817 FreeType2 font renderer (#484)
* Backport ngspades’s FreeType2 font renderer

* Change system fonts

* Fix SWImage::Update

* Preliminary custom TTF/OTF font support

* Fix font rendering

* Adjust design

* Update devpak

* Fix to compile on Linux

* Update .travis.yml

* Update external libraries

* Update .travis.yml

* Attempt to fix Travis CI build

* Add missing sudo to travis.yml

* Nevermind the changes, it didn't work

* Update .travis.yml

* Update .travis.yml and CMakeLists.txt
2016-12-11 23:18:16 +09:00
David Carlier
1d970ec34d make the build possible on OpenBSD.
modified version of the pk download script.
isnan belongs to std namespace in C++11 standard.
2016-12-04 20:01:37 +00:00
Marco Schlumpp
b8c9265ebc
Fix compilation on newer libstdc++.
Newer versions only declare isnan in the std namespace when the cmath
header is used.
2016-12-03 20:07:16 +01:00
Tomoaki Kawada
ccd365b602 Fix incorrect SPLog arguments
Fixes #468.
2016-12-03 22:00:46 +09:00
Tomoaki Kawada
624d291f79 Update #includes
- Reorder them so that system libraries come first
- Use C++-style headers (`<cmath>`) instead of C-style headers (`<math.h>`)
2016-12-03 19:04:58 +09:00
Tomoaki Kawada
ebd79c0099 Change #include style
All `#include`s to other subsystem now use angle brackets, e.g., `#include <Core/Math.h>`.
2016-12-03 18:49:07 +09:00
Tomoaki Kawada
2eb9e35c65 Apply clang-format to all non-external source files 2016-12-03 18:23:47 +09:00
VelocityRa
30d133ce31 Use better random generator 2016-11-22 23:08:35 +02:00
Tomoaki Kawada
3380a07bfe Renderer: latch some config variables 2016-11-19 23:22:18 +09:00
Tomoaki Kawada
6a7af96daf Refactor setting variables 2016-11-19 21:27:13 +09:00
Nick Renieris
c7a4cb1872 Merge pull request #442 from VelocityRa/glsl-vars-fix
Rename 'texture' GLSL occurences for max compatibility
2016-11-18 23:37:50 +02:00
VelocityRa
474b91d77d Rename references to 'texture' uniforms 2016-11-18 15:40:49 +02:00
YVT
f1f88d3e18 Fix to compile with MSVC 2015 2016-11-18 04:44:57 -08:00
Tomoaki Kawada
2bc2bcac26 Water shader: level 3
Screen-space reflections (hybrid w/planar reflections) & refractions!
2016-11-11 02:53:48 +09:00
Tomoaki Kawada
d2debd19fe Update AngelScript to 2.31.1
This (hopefully) fixes #416.
2016-11-10 22:21:19 +09:00
Tomoaki Kawada
2db1a22f81 Better bloom effect 2016-11-07 01:37:15 +09:00
Tomoaki Kawada
4047b613f1 Remove the vertical fog
Improves the AoS 0.75 compatibility.
2016-11-06 22:15:37 +09:00