Lasse Öörni
|
eb104906aa
Remove API-specific Graphics class headers and code duplication. Closes #1422.
|
9 years ago |
Lasse Öörni
|
6c77b75813
Cleanup ShaderParameter related code.
|
9 years ago |
Lasse Öörni
|
f8d636426c
Make ShaderVariation class header API-agnostic.
|
9 years ago |
Lasse Öörni
|
1ba87dae4c
Get rid of API-specific GPUObject class header & implementation.
|
9 years ago |
Lasse Öörni
|
8215c42e37
OpenGL arbitrary vertex attributes. Change GLSL attribute indexing to zero-based to match HLSL, so the second texcoord (lightmaps, billboard sizes) is now called texCoord1, and instancing texcoords are texCoord4,5,6.
|
9 years ago |
urho3d-travis-ci
|
c4f6f315ff
Travis CI: bump copyright to 2016.
|
10 years ago |
Lasse Öörni
|
6d2853d81d
Add 32-bit integer object index attribute for custom instancing schemes. May not work on GLES2 as it's using attribute index 13. Not supported on D3D9. Closes #1108.
|
10 years ago |
Ivan K
|
3a7e7f058e
LOGWARNING -> URHO3D_LOGWARNING
|
10 years ago |
Jukka Jylänki
|
fc0d427557
Add support for GPU hardware instancing on Emscripten. In WebGL 1 it is exposed by the ANGLE_instanced_arrays ( https://www.khronos.org/registry/webgl/extensions/ANGLE_instanced_arrays/ ) extension, and in WebGL 2, it is enabled in core.
|
10 years ago |
Yao Wei Tjong 姚伟忠
|
fa77a456f8
Reformat Urho3D source files to get rid of the indents on empty lines.
|
10 years ago |
Lasse Öörni
|
88b05c738f
Remember shader parameter sources inside individual ShaderPrograms to reduce redundant uniform assignments.
|
10 years ago |
Lasse Öörni
|
040b6263f5
Fix crash with null constant buffer slots.
|
10 years ago |
Lasse Öörni
|
2cefd437de
Check if shader uses uniforms outside buffer and invalidate all parameter groups in that case, when switching shaders. Add define in Uniforms.glsl which allows to disable constant buffers on OpenGL 3, as using them may actually be slower.
|
10 years ago |
Lasse Öörni
|
0e5a05afc7
OpenGL 3 constant buffer support.
|
10 years ago |
Lasse Öörni
|
6e6c39c5a8
Add a ShaderProgram class also for D3D9, which holds the combined shader parameters. Cleaned up ShaderProgram handling on OpenGL. Optimized away repeated assignment of constant values from D3D9 SetShaderParameter().
|
10 years ago |
Lasse Öörni
|
bb2ebf7568
Bump copyright to 2015.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
f719e3a429
Remove explicit inclusion of precompiled header file.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
359efb2d37
Move the DebugNew.h from Urho3D/Container subdir to Urho3D subdir.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
b0f96615d8
Further clean up on the include path for the Graphics sub-library.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
0a2e601307
Change the include path for Precompiled header to fix MSVC build.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
b51e419c88
Change impl. file to include the header file from corresponding subdir.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
bcf7c94ec8
Rename Source/Engine to Source/Urho3D.
|
11 years ago |