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.
|
il y a 9 ans |
Lasse Öörni
|
56ba0def78
Add Graphics::SetDither(). Closes #1489.
|
il y a 9 ans |
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.
|
il y a 9 ans |
Lasse Öörni
|
28ed7c1706
Remove ambiguous WeakPtr initialization from Graphics class. Closes #1459.
|
il y a 9 ans |
Lasse Öörni
|
fd5bac385a
Since the SDL window is not API-specific, move it into Graphics from GraphicsImpl to simplify code.
|
il y a 9 ans |
Lasse Öörni
|
eb104906aa
Remove API-specific Graphics class headers and code duplication. Closes #1422.
|
il y a 9 ans |
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.
|
il y a 9 ans |
Lasse Öörni
|
6c77b75813
Cleanup ShaderParameter related code.
|
il y a 9 ans |
Lasse Öörni
|
f8d636426c
Make ShaderVariation class header API-agnostic.
|
il y a 9 ans |
Lasse Öörni
|
1ba87dae4c
Get rid of API-specific GPUObject class header & implementation.
|
il y a 9 ans |
Lasse Öörni
|
489356a29f
Cleanup editor debug icon code to not do constant resizes of billboardsets to zero and back, and to use fixed screen size mode to eliminate need for manual sizing. BillboardSet::SetNumBillboards() is no-op if count remains same. Fix BillboardSet fixed size bug when changing between ortho & perspective camera. Do not care to resize scratch buffer smaller if it's below 1MB. Add scratch buffer debug messages also to OpenGL Graphics class for consistency. Closes #1434.
|
il y a 9 ans |
Yusuf Umar
|
f9e65027e3
Implementing RibbonTrail
|
il y a 9 ans |
Yao Wei Tjong 姚伟忠
|
a5b4512966
Reduce direct exposure to SDL headers as much as possible.
|
il y a 9 ans |
Yao Wei Tjong 姚伟忠
|
3ab69da3af
Use __ANDROID__ compiler define consistently.
|
il y a 9 ans |
Yao Wei Tjong 姚伟忠
|
64d975ba1a
Add initial build support for generic ARM platform.
|
il y a 9 ans |
Lasse Öörni
|
cac0d0e5aa
Add note of potential bug on old GPU's and seamless cube map extension.
|
il y a 9 ans |
Lasse Öörni
|
ec05d239f3
Check seamless cubemap extension before trying to enable it on GL2. Related to #1380.
|
il y a 9 ans |
Lasse Öörni
|
0095fbb41e
Unix named pipe support. Fixed GCC warning in OGLGraphics.cpp. Closes #1346.
|
il y a 9 ans |
Lasse Öörni
|
97bf7fa8a2
Fix crash when driver allows GL version 3.2 but doesn't support instancing.
|
il y a 9 ans |
Yao Wei Tjong 姚伟忠
|
31d362f879
Add new engine parameter for enabling/disabling high DPI window mode.
|
il y a 9 ans |
Lasse Öörni
|
d80e5f9a32
Simplify OpenGL code.
|
il y a 9 ans |
svifylabs
|
e94d00517c
fix compile error and added runtime check
|
il y a 9 ans |
svifylabs
|
c09b638524
Add Graphics draw call with baseVertexIndex (offset)
|
il y a 9 ans |
Lasse Öörni
|
c003af1114
Merge branch 'master' into vertexdeclaration
|
il y a 9 ans |
Lasse Öörni
|
3f861d67dd
Enable seamless cubemap if possible on desktop GL (from 1vanK). Clarify meaning of Light::SetShadowIntensity().
|
il y a 9 ans |
Lasse Öörni
|
7b738c54ac
Merge branch 'master' into vertexdeclaration
|
il y a 9 ans |
Lasse Öörni
|
49400b4b19
Fix using SDL booleans instead of window flags in SDL_SetWindowFullscreen(). Does not change actual behavior since SDL_TRUE & SDL_WINDOW_FULLSCREEN both equal 1.
|
il y a 9 ans |
Lasse Öörni
|
9cd0cbb200
Prevent taking screenshot when device is lost.
|
il y a 9 ans |
Lasse Öörni
|
5dc030c1dd
Prevent taking screenshot when device is lost.
|
il y a 9 ans |
Lasse Öörni
|
d6ccd8a644
Reinstate the "null VBO" check to prevent crash from rendering with an uninitialized vertex buffer.
|
il y a 9 ans |