Deve
ae4e302741
Add a way to run STK without srgb framebuffer
2017-10-09 21:18:15 +02:00
Deve
bc6ff38b22
Simplify light factor when advanced lighting is disabled.
...
In this case only diffuseMatColor really matters, other values are constant.
It improves performance on GLES renderer and it's also noticeably faster for GL on desktop.
For example:
- fps increased for me from 60 to 69 on Hacienda with intel HD 4000
- from 43 to 49 on lighthouse
There is much less difference on nvidia graphics card, but still it gives small performance improvement.
2017-08-06 22:18:18 +02:00
Vincent Lejeune
c4e5a720f7
Do not undefine builtin macros.
2014-12-18 22:09:14 +01:00
samuncle
91736e1941
Add the support for emit map. For the moment it's only for solid objects
2014-11-22 15:59:22 +01:00
Vincent Lejeune
0db951f374
Try to emulate enery conservation
2014-10-05 21:53:06 +02:00
Vincent Lejeune
88954a5d88
Prepare shader for specmap value
2014-10-05 02:12:04 +02:00
Vincent Lejeune
4c6df4821d
Revert "Do not allow specvalue to be below 0."
...
This reverts commit 6b4430caaa
.
2014-09-16 00:37:49 +02:00
Vincent Lejeune
6b4430caaa
Do not allow specvalue to be below 0.
...
Just in case it shouldnt be possible anyway.
2014-09-15 01:06:15 +02:00
Vincent Lejeune
6ac3d69471
Play with bindless textures
2014-08-22 23:48:28 +02:00
Vincent Lejeune
09d0c2eef5
Forget a shader + remove shader output
2014-08-02 00:56:36 +02:00
Vincent Lejeune
f9c7c3db5e
Try a fix for intel and kart selection screen.
2014-07-30 01:25:27 +02:00
Vincent Lejeune
a35c33e4f6
Remove ambient
...
It's already added in the diffuse env pass
2014-07-29 23:56:48 +02:00
vlj
883b39591f
Width and height are passed by UBO
2014-05-17 02:39:55 +02:00
vlj
8fc383206f
Improve ao and bloom.
2014-03-30 23:47:19 +02:00
Vincent Lejeune
340eaa9352
Factorize getLightFactor
2014-03-21 18:36:47 +01:00