Commit Graph

11560 Commits

Author SHA1 Message Date
Vincent Lejeune
567974aeed Use dFdX/dFdY to compute normals in SSAO. 2014-05-11 18:09:48 +02:00
Vincent Lejeune
e5410e23a2 Use Alchemy SSAO 2014-05-11 18:00:30 +02:00
samuncle
518a5fd8ef Fix pre-c++2011 + improved waterfall effect 2014-05-11 02:58:23 +02:00
Marianne Gagnon
00ea15b7bb Yet another fix to pre-c++2011 compilation..... (not trying to raise my commit count, I swear!!) 2014-05-10 20:53:51 -04:00
Marianne Gagnon
7808fc8a09 Yet another fix to pre-c++2011 compilation..... 2014-05-10 20:50:18 -04:00
Marianne Gagnon
522ad01a27 More to fix pre-c++2011 build 2014-05-10 20:46:56 -04:00
Marianne Gagnon
c0a7c76886 Fix pre-c++2011 build, hopefully 2014-05-10 20:43:43 -04:00
Marianne Gagnon
fbd33420c2 cull by distance, to improve performance 2014-05-10 20:38:10 -04:00
Vincent Lejeune
e16c6af04a Forget a sizeof(float). 2014-05-11 02:24:17 +02:00
Vincent Lejeune
325ec8e754 Fix wrong buffer size and factorize state changes. 2014-05-11 02:13:04 +02:00
Vincent Lejeune
b286069108 Use batched draw call to draw lines. 2014-05-11 01:59:59 +02:00
Marianne Gagnon
4e9f199008 Save raw floats and not vectors 2014-05-10 19:50:24 -04:00
Marianne Gagnon
bdabbedf28 fix silly mistake in previous commit 2014-05-10 19:31:30 -04:00
Marianne Gagnon
486d5c291f Batch physics debug rendering 2014-05-10 19:26:14 -04:00
Vincent Lejeune
46a832a67f Reenable physic debug mode 2014-05-11 00:52:19 +02:00
Vincent Lejeune
648d076e00 Premultiply alpha for particles too. 2014-05-10 20:58:43 +02:00
Vincent Lejeune
6936f30b36 Premultiply alpha for billboards. 2014-05-10 20:49:30 +02:00
Vincent Lejeune
6bf67523b9 Prettier gpu timing label. 2014-05-10 20:16:27 +02:00
Vincent Lejeune
5d3b6bba4d Avoid shadow disappearance 2014-05-10 20:00:52 +02:00
Vincent Lejeune
a3f1e4bad1 Explicitly use S3TC texture compression. 2014-05-10 02:52:58 +02:00
Vincent Lejeune
f7aa586eb2 Check if compression was successful before caching
Fix a crash on radeon.
2014-05-10 02:41:45 +02:00
Vincent Lejeune
b72c1ad0c5 Fix for disappearing objects. 2014-05-10 02:28:02 +02:00
vlj
af67c8c3b8 Merge pull request #1309 from gupascal/hd-textures-option
A "Use High definition textures" option
2014-05-10 01:37:23 +02:00
vlj
07f68db6c3 Fix wrong mouse poisition report.
m_mouse_pos was always (0, -1) in some case, which makes profiling hard.
2014-05-09 19:55:06 +02:00
vlj
cd6e7f3d90 Fix an assert. 2014-05-09 19:32:52 +02:00
vlj
b4e9a00574 Fix profiler 2014-05-09 18:54:06 +02:00
vlj
5b511fedd8 Lights: Culling was not using correct cam position 2014-05-09 18:46:07 +02:00
vlj
bc2c355cd8 Shadows: Emit an error instead of sending wrong corners. 2014-05-09 18:41:24 +02:00
vlj
c5e31c96b1 Simplify mesh temporary.
Until we move this code to the exporter.
2014-05-09 15:11:18 +02:00
vlj
94c65434df Add some more perfs counter to post process 2014-05-09 15:07:07 +02:00
vlj
59f586c5ee Add some more gpu timer. 2014-05-09 14:54:42 +02:00
vlj
3e6ab6d7b6 Factorize SSAO in its own code. 2014-05-09 14:44:53 +02:00
Marianne Gagnon
d78482ac67 Better react to small screens 2014-05-08 20:50:34 -04:00
Marianne Gagnon
9ab068a72d Remove accidentally committed file 2014-05-08 20:40:39 -04:00
Guillaume P
32b6f42ef4 Fix Travis CI build. 2014-05-08 20:40:22 +02:00
Guillaume P
326c707458 Clear the reminder of the origin file name of textures in Track::cleanup(). 2014-05-08 20:20:35 +02:00
Guillaume P
deb74f4a00 Merge remote-tracking branch 'remotes/upstrem/master' into hd-textures-option
Conflicts:
	src/graphics/glwrap.cpp
2014-05-08 18:40:14 +02:00
Guillaume P
af91b8b4ae Extend caching abilities to compressed textures. Also, improve the structure of cache directories to fit new needs. 2014-05-08 18:04:22 +02:00
Stephen Just
1070fd7395 Fix segfault on Linux/Mesa
For some reason, glGetString(GL_EXTENSIONS) is failing. This will need more investigation
2014-05-07 23:19:39 -06:00
Vincent Lejeune
5f6829b071 Simplify some code and have a function that render a scene from a cam pov 2014-05-08 03:14:00 +02:00
Vincent Lejeune
1746835cae Factorize godray visibility test in its own function. 2014-05-08 02:14:31 +02:00
Vincent Lejeune
8a64d411d9 Remove debug arount scoped timer. 2014-05-08 02:07:03 +02:00
Marianne Gagnon
e1a5f8254b Merge branch 'master' of https://github.com/supertuxkart/stk-code 2014-05-07 19:35:35 -04:00
Marianne Gagnon
c8638ec968 Add basic support to display GPU markers in the profiler 2014-05-07 19:35:31 -04:00
Vincent Lejeune
4c9e2afe31 Cast some char to unsigned char 2014-05-08 01:25:37 +02:00
Vincent Lejeune
a73f03a2c4 Make use of gl_amd_vertex_shader_layer when available 2014-05-08 01:16:02 +02:00
vlj
cc368103b0 Remove an extra EndQuery 2014-05-08 00:03:21 +02:00
vlj
fd7399d983 Use instancing to expand shadows instead of GS 2014-05-07 23:57:07 +02:00
hiker
d4b263761e Fix #1231 - stk-code/data not found on windows (secondary report). 2014-05-07 13:23:22 +10:00
vlj
8e21810282 Encapsulate GPUTimer calls 2014-05-06 17:50:29 +02:00