PredatorMF
|
2bef979152
Add monitor and refreshrate parameters to E_SCREENMODE
|
8 years ago |
PredatorMF
|
f8beaad5cb
Fix OpenGL renderer with monitor/refresh rate options
|
8 years ago |
TheComet
|
be4dc04f9a
Removing SDL_INIT_NOPARACHUTE, it does nothing in SDL 2.x
|
9 years ago |
TheComet
|
10c878b42b
fixes #1781 - Moved SDL_Init() into Context class
|
9 years ago |
Lasse Öörni
|
b8c03fb7ec
Fix ifdef.
|
9 years ago |
Lasse Öörni
|
dd32227ed7
Implement Graphics::GetMultiSampleLevels() on OpenGL by querying GL_MAX_SAMPLES. Closes #1774.
|
9 years ago |
urho3d-travis-ci
|
ee054a1507
Travis CI: bump copyright to 2017.
|
9 years ago |
Johnathan Jenkins
|
d78fc4020f
minor typos
|
9 years ago |
Lasse Öörni
|
1bb6d3d1ac
Support for mipmapped rendertargets & automatic mip regeneration after rendering. Renderer allocated screen buffers are not mipmapped, but a manually created rendertarget texture will be (like regular textures), unless disabled by calling SetNumLevels(1).
|
9 years ago |
Lasse Öörni
|
f8ebf2dbc9
Line antialiasing support in Graphics, Material, DebugRenderer classes. Closes #1627.
|
9 years ago |
Lasse Öörni
|
72c2e82ee8
Support for bool & int constants in materials on OpenGL & Direct3D11. Added int uniform support to OpenGL. Removed code duplication for setting a Variant shader parameter.
|
9 years ago |
Lasse Öörni
|
fc42e5d98e
Merge branch 'multisample-textures'
|
9 years ago |
Lasse Öörni
|
3a5a85151e
Instead of specific fix in Material, convert double Variants to float on demand in Graphics::SetShaderParameter(). Closes #1621.
|
9 years ago |
Lasse Öörni
|
c923476847
Merge branch 'master' into multisample-textures
|
9 years ago |
Lasse Öörni
|
f07f3e8c91
OpenGL multisampled cube texture.
|
9 years ago |
Lasse Öörni
|
a1e2bc9bd3
Make shader cache location configurable, default "urho3d/shadercache" in app preferences, to avoid writing to write-protected installation directory by default. Instructions in porting notes to restore earlier behavior. ShaderCacheDir & PackageCacheDir parameters added to engine startup parameters. Fix GetResourceFileName() function to return the unmodified filename if it's absolute and exists. Remove unnecessary mutex lock from GetResourceFileName(). Remove some code duplication from Graphics class implementations. Closes #1610.
|
9 years ago |
Lasse Öörni
|
3b4f4d4c0c
Clear multisampling from texture on GLES and log warning.
|
9 years ago |
Lasse Öörni
|
f6ce114830
Multisampled texture without autoresolve on OpenGL.
|
9 years ago |
Lasse Öörni
|
4e40cf849e
Work on OpenGL multisample textures.
|
9 years ago |
Lasse Öörni
|
b22768227f
Possibility to enable alpha-to-coverage in either pass or material (all passes). Requires D3D11 or OpenGL and hardware multisampling enabled. Seems to look slightly different on D3D / OpenGL. Fixed depth bias not being copied in Material::Clone(). Closes #1578.
|
9 years ago |
Lasse Öörni
|
83acf5bc14
Optional per-texture specifiable max. anisotropy level. Closes #1563.
|
9 years ago |
Lasse Öörni
|
489f759e00
Fix slope-scale depth bias potentially not creating new rasterizer state on D3D11 due to poor hashing. Remove mistaken adjustment of slope-scale bias on OpenGL. Now behavior should be uniform between D3D9/D3D11/OpenGL. Closes #1547.
|
9 years ago |
Lasse Öörni
|
a2d86f1a59
Get screenshot as RGBA on OpenGL ES to fix Android black screenshot.
|
9 years ago |
Lasse Öörni
|
91f4489e07
Fix hardwareShadowSupport returning false on OpenGL, which would make it impossible to switch to 1-sample shadow mode. However, deliberately disable 1-sample mode from mobile NinjaSnowWar to achieve similar quality to desktops.
|
9 years ago |
Lasse Öörni
|
56ba0def78
Add Graphics::SetDither(). Closes #1489.
|
9 years ago |
Lasse Öörni
|
c647ae7dfa
Put zone texture to environment texture unit on OpenGL ES. Fix web build including texture unit mappings which are not included in the shaders.
|
9 years ago |
Lasse Öörni
|
28ed7c1706
Remove ambiguous WeakPtr initialization from Graphics class. Closes #1459.
|
9 years ago |
Lasse Öörni
|
fd5bac385a
Since the SDL window is not API-specific, move it into Graphics from GraphicsImpl to simplify code.
|
9 years ago |
Lasse Öörni
|
eb104906aa
Remove API-specific Graphics class headers and code duplication. Closes #1422.
|
9 years ago |
Lasse Öörni
|
bdce4b3dba
Move API-specific Graphics class member variables to GraphicsImpl. Rename WindowMoved & WindowResized to OnWindow.. to match convention used elsewhere (eg. OnNodeSet) Change windowIcon_ member to WeakPtr to ensure safety in later access. Minor class comment fixes.
|
9 years ago |