Lasse Öörni
|
782c3ac54e
Removed the "view texture" abstraction, which is unnecessary now, as all deferred renderpaths write directly to the destination rendertarget. Fixes #166.
|
vor 12 Jahren |
Lasse Öörni
|
6d5ddc23e0
Bump the copyright for 2014.
|
vor 12 Jahren |
Lasse Öörni
|
5062dbba42
Sanitate screenshot name in the samples to ensure saving it succeeds. Prepend the executable path properly. Flip image in OpenGL Graphics::TakeScreenShot() instead of having the user to do it.
|
vor 12 Jahren |
primitivewaste
|
d4fb9a9450
Add Zone height fog support, HeightFog shader option and techniques.
|
vor 12 Jahren |
Lasse Öörni
|
76292ef63e
Centralize allocation of event data variant maps to Context to avoid constant dynamic memory allocation.
|
vor 12 Jahren |
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.
|
vor 12 Jahren |
Lasse Öörni
|
20b67638e3
Hack fix for render-to-texture failing on iOS.
|
vor 12 Jahren |
Lasse Öörni
|
7d4d956691
Check if GLES2 device supports 24-bit depth texture, or 24/8-bit depth+stencil through extensions.
|
vor 12 Jahren |
Lasse Öörni
|
d723bef62b
On OpenGL ES 2.0, create depth renderbuffers in explicit GL_DEPTH_COMPONENT16 format, as GL_DEPTH_COMPONENT is unsupported on some devices. Possibly a fix for #140.
|
vor 12 Jahren |
Lasse Öörni
|
dbdfce095f
If window is not resizable, do not maximize it at the default resolution (1024x768) to keep the border intact.
|
vor 12 Jahren |
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.
|
vor 12 Jahren |
Jordan Patterson
|
1a49c6ebfc
Add support for SDL2 GameControllers
|
vor 12 Jahren |
Lasse Öörni
|
8c26cf6c45
Export the NvOptimusEnablement variable to prefer NVIDIA GPU on switchable GPU systems. Closes #139.
|
vor 12 Jahren |
Lasse Öörni
|
cadb503976
Added transform by matrix functions to Plane. Added camera clipping plane support. Added basic reflective+refractive water shader + material.
|
vor 12 Jahren |
Yao Wei Tjong 姚伟忠
|
7f95216d3e
Refactor to use new logging macros with formatting.
|
vor 12 Jahren |
Lasse Öörni
|
712345aa56
Added log macros with formatting. Closes #114.
|
vor 12 Jahren |
Yao Wei Tjong 姚伟忠
|
d719baa38b
Use on-demand shader evaluation for OpenGL as well.
|
vor 12 Jahren |
Lasse Öörni
|
721f70fe1a
Fixed D3D9 build. Added borderless as a command line option and documented it.
|
vor 12 Jahren |
Alex Parlett
|
a63ab49ac5
Added the ability to specify whether a window is borderless or not (decorated with borders);
|
vor 12 Jahren |
Lasse Öörni
|
d1df925013
Added Image::GetSDLSurface() to avoid code duplication. Fixed crash from null image pointer in Graphics::CreateWindowIcon().
|
vor 12 Jahren |
Lasse Öörni
|
679007d1b5
Normalize whitespace, update documentation.
|
vor 12 Jahren |
Lasse Öörni
|
cc4c4e6a79
Merge remote-tracking branch 'remotes/alexparlett/window-icon'
|
vor 12 Jahren |
Lasse Öörni
|
9752cbed1e
Removed OpenGL scratch buffer allocation log spam, even in debug mode.
|
vor 12 Jahren |
Alex Parlett
|
2505149255
Added ability to specify window icon (external application window) using an Image resource and SDL cross platform capability
|
vor 12 Jahren |
Lasse Öörni
|
3abae76ec2
Use constant for number of draw buffers.
|
vor 12 Jahren |
Lasse Öörni
|
a80793b901
Match desktop OpenGL behavior with Direct3D: check that fullscreen window size is a valid resolution and do not enter fullscreen mode if it isn't. Closes #52.
|
vor 12 Jahren |
Lasse Öörni
|
f299c0d815
Fixed Android GL context destroy / restore. Removed project.properties file, as it's generated by the command "android update project".
|
vor 12 Jahren |
Lasse Öörni
|
cfd2516000
Return window size for GetDesktopResolution() on mobile platforms due to possible SDL bug.
|
vor 12 Jahren |
Lasse Öörni
|
25c7aa53c3
Added GetDesktopResolution() to Graphics.
|
vor 12 Jahren |
Lasse Öörni
|
2fbe931cee
Added SetWindowPosition() / GetWindowPosition() to Graphics.
|
vor 12 Jahren |