Lasse Öörni
|
3e14caf89e
Load/save cached binary HLSL shaders. Report SM3 supported on OpenGL to simplify code.
|
12 years ago |
Lasse Öörni
|
caf080ecbb
Initial refactoring of Direct3D9 shaders. ShaderCompiler removed. Bytecode not cached into files yet.
|
12 years ago |
Lasse Öörni
|
6d5ddc23e0
Bump the copyright for 2014.
|
12 years ago |
Lasse Öörni
|
9f34d74cce
Fixed taking windowed multisampled screenshots on Direct3D9.
|
12 years ago |
Lasse Öörni
|
cb0f3b7109
Fix for compiling in D3D9 mode on mingw-w64.
|
12 years ago |
primitivewaste
|
d4fb9a9450
Add Zone height fog support, HeightFog shader option and techniques.
|
12 years ago |
Lasse Öörni
|
76292ef63e
Centralize allocation of event data variant maps to Context to avoid constant dynamic memory allocation.
|
12 years ago |
Lasse Öörni
|
39e13d49c8
Renamed the plane intercept parameter to "d" and reversed its sign so that it fits the conventional plane formula ax + by + cz + d = 0.
|
12 years ago |
Lasse Öörni
|
6219289e9f
Optimize text batch preparation by avoiding dynamic allocation each frame. Use last glyph if rendering the same glyph several times in a row. Changed repeated postincrement of a destination pointer to indexing where applicable.
|
12 years ago |
Lasse Öörni
|
dbdfce095f
If window is not resizable, do not maximize it at the default resolution (1024x768) to keep the border intact.
|
12 years ago |
Lasse Öörni
|
1c92bc3a09
Only find the DirectX SDK when compiling with Visual Studio, as the headers are incompatible with MinGW. Fixed export statements for MinGW. Closes #142.
|
12 years ago |
Jordan Patterson
|
1a49c6ebfc
Add support for SDL2 GameControllers
|
12 years ago |
Lasse Öörni
|
8c26cf6c45
Export the NvOptimusEnablement variable to prefer NVIDIA GPU on switchable GPU systems. Closes #139.
|
12 years ago |
Lasse Öörni
|
cadb503976
Added transform by matrix functions to Plane. Added camera clipping plane support. Added basic reflective+refractive water shader + material.
|
12 years ago |
Yao Wei Tjong 姚伟忠
|
7f95216d3e
Refactor to use new logging macros with formatting.
|
12 years ago |
Lasse Öörni
|
712345aa56
Added log macros with formatting. Closes #114.
|
12 years ago |
Yao Wei Tjong 姚伟忠
|
d719baa38b
Use on-demand shader evaluation for OpenGL as well.
|
12 years ago |
Lasse Öörni
|
ffcbe42413
Evaluate shader combinations on demand. Closes #89.
|
12 years ago |
Lasse Öörni
|
721f70fe1a
Fixed D3D9 build. Added borderless as a command line option and documented it.
|
12 years ago |
Alex Parlett
|
a63ab49ac5
Added the ability to specify whether a window is borderless or not (decorated with borders);
|
12 years ago |
Lasse Öörni
|
d1df925013
Added Image::GetSDLSurface() to avoid code duplication. Fixed crash from null image pointer in Graphics::CreateWindowIcon().
|
12 years ago |
Lasse Öörni
|
679007d1b5
Normalize whitespace, update documentation.
|
12 years ago |
Alex Parlett
|
2505149255
Added ability to specify window icon (external application window) using an Image resource and SDL cross platform capability
|
12 years ago |
Lasse Öörni
|
5fb42a277c
Re-added "flush GPU command buffer" -feature for controlling timestep variance and input lag. Direct3D only for now. Default off, as can decrease performance.
|
12 years ago |
Lasse Öörni
|
d1c547d455
Fixed to correctly use Time::Sleep() instead of Sleep().
|
12 years ago |
Yao Wei Tjong 姚伟忠
|
b5836237e9
Remove dependency on Lua when LuaJIT is enabled.
|
12 years ago |
Lasse Öörni
|
25c7aa53c3
Added GetDesktopResolution() to Graphics.
|
12 years ago |
Lasse Öörni
|
2fbe931cee
Added SetWindowPosition() / GetWindowPosition() to Graphics.
|
12 years ago |
Aster Jian
|
a570bb8ad6
Add LuaJIT support in LuaScript module, please use ENABLE_LUA_JIT to enable it, just test on Windows.
|
12 years ago |
Lasse Öörni
|
168b69c09d
Added StaticObjectGroup component for optimizing culling, light and drawcall processing. Update HugeObjectCount to use it. Not yet exposed to script.
|
12 years ago |