Lasse Öörni
|
02e543ba5c
Support for per-pixel negative lights. Added BLEND_SUBTRACT & BLEND_SUBTRACTALPHA blend modes. Light code cleanup.
|
12 lat temu |
Lasse Öörni
|
4d15a2c09b
Report correct window size in the screen mode event if maximizing the window on startup. Closes #247.
|
12 lat temu |
aster2013
|
9b31d29a54
Add GetFullName in ShaderVariation, make code more clear.
|
12 lat temu |
Lasse Öörni
|
cc9e5e1994
Moved to XML based shader precache files. Refactored shader precaching code to its own class. Closes #199.
|
12 lat temu |
Lasse Öörni
|
abc6fcd8b8
Shader precaching mechanism. Call Graphics::BeginDumpShaders() or use the engine command line parameter -ds <file> to create a shader dump file of the variations that are loaded during program run, and Graphics::PrecacheShaders() to load the dump file.
|
12 lat temu |
Lasse Öörni
|
c3c177525d
Removed the "view texture" abstraction, which is unnecessary now, as all deferred renderpaths write directly to the destination rendertarget. Fixes #166.
|
12 lat temu |
Lasse Öörni
|
ea334e4393
Merge branch 'master' into shader-refactor
|
12 lat temu |
Lasse Öörni
|
6d5ddc23e0
Bump the copyright for 2014.
|
12 lat temu |
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.
|
12 lat temu |
Lasse Öörni
|
417e62f106
Detect deferred light volume batch and subtract camera position only in that case to allow the pixel shader light parameters (light position, shadow matrices etc.) to also be used in forward rendering if necessary.
|
12 lat temu |
primitivewaste
|
d4fb9a9450
Add Zone height fog support, HeightFog shader option and techniques.
|
12 lat temu |
Lasse Öörni
|
76292ef63e
Centralize allocation of event data variant maps to Context to avoid constant dynamic memory allocation.
|
12 lat temu |
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 lat temu |
Lasse Öörni
|
20b67638e3
Hack fix for render-to-texture failing on iOS.
|
12 lat temu |
Lasse Öörni
|
7d4d956691
Check if GLES2 device supports 24-bit depth texture, or 24/8-bit depth+stencil through extensions.
|
12 lat temu |
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.
|
12 lat temu |
Lasse Öörni
|
dbdfce095f
If window is not resizable, do not maximize it at the default resolution (1024x768) to keep the border intact.
|
12 lat temu |
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 lat temu |
Jordan Patterson
|
1a49c6ebfc
Add support for SDL2 GameControllers
|
12 lat temu |
Lasse Öörni
|
8c26cf6c45
Export the NvOptimusEnablement variable to prefer NVIDIA GPU on switchable GPU systems. Closes #139.
|
12 lat temu |
Lasse Öörni
|
cadb503976
Added transform by matrix functions to Plane. Added camera clipping plane support. Added basic reflective+refractive water shader + material.
|
12 lat temu |
Yao Wei Tjong 姚伟忠
|
7f95216d3e
Refactor to use new logging macros with formatting.
|
12 lat temu |
Lasse Öörni
|
712345aa56
Added log macros with formatting. Closes #114.
|
12 lat temu |
Yao Wei Tjong 姚伟忠
|
d719baa38b
Use on-demand shader evaluation for OpenGL as well.
|
12 lat temu |
Lasse Öörni
|
721f70fe1a
Fixed D3D9 build. Added borderless as a command line option and documented it.
|
12 lat temu |
Alex Parlett
|
a63ab49ac5
Added the ability to specify whether a window is borderless or not (decorated with borders);
|
12 lat temu |
Lasse Öörni
|
d1df925013
Added Image::GetSDLSurface() to avoid code duplication. Fixed crash from null image pointer in Graphics::CreateWindowIcon().
|
12 lat temu |
Lasse Öörni
|
679007d1b5
Normalize whitespace, update documentation.
|
12 lat temu |
Lasse Öörni
|
cc4c4e6a79
Merge remote-tracking branch 'remotes/alexparlett/window-icon'
|
12 lat temu |
Lasse Öörni
|
9752cbed1e
Removed OpenGL scratch buffer allocation log spam, even in debug mode.
|
12 lat temu |