Lasse Öörni
|
f1cb469a34
Fix getting world-space tangent for billboards. Closes #1678.
|
9 years ago |
Lasse Öörni
|
6ca0aafd27
Use cAmbientColor.rgb where necessary.
|
9 years ago |
Yusuf Umar
|
b24bcb8928
No longer need to passing camera position to direction billboard vertex buffer because Urho3D already has default uniform to do the job.
|
9 years ago |
Yusuf Umar
|
f9e65027e3
Implementing RibbonTrail
|
9 years ago |
Lasse Öörni
|
7160a0ab7c
Normal offset shadow support for HLSL. Fix deferred specular calculation on HLSL.
|
9 years ago |
Lasse Öörni
|
9fd22d3323
Fix instance texture coordinate in HLSL shaders.
|
9 years ago |
Yusuf Umar
|
a8d9308abe
Moving billboard rotate computation from CPU to GPU. Particle with direction should run faster now.
|
10 years ago |
Yusuf Umar
|
353c459e0d
Adding direction for particle/billboard. It can create pseudo 3d effect inspired by Unity stretched billboard. Can be used by using face camera option 'Rotate Along Direction'.
|
10 years ago |
Lasse Öörni
|
e1cae7077f
Ensure matching interpolator order with point lights, critical on D3D11. Closes #1048.
|
10 years ago |
Lasse Öörni
|
2a34d35dec
Added missing vertex color variation to the LitSolid shaders.
|
10 years ago |
Lasse Öörni
|
aa65cedefd
Add NOUV define to LitParticle, LitSolid & Unlit HLSL shaders when used as untextured, to prevent vertex layout creation problem on D3D11 when model has no UVs. Remove texcoords from the editor grid as they're no longer necessary. Closes #712.
|
10 years ago |
Lasse Öörni
|
3759570319
Remove rrr swizzle from lighting shaders to allow the spotlight to be colored. Convert the default spot textures to RGB color to avoid sampling only the R channel on D3D11.
|
10 years ago |
Lasse Öörni
|
e106f1b389
D3D11 clip plane support. Check that multisample level is supported. Various shader fixes.
|
10 years ago |
Lasse Öörni
|
6112220b16
Cube maps, point light shadows & deferred / light prepass rendering on D3D11.
|
10 years ago |
Lasse Öörni
|
e919935abd
Merge back D3D9 & D3D11 shaders using macros. Removed the "custom" constant buffer slot; rather allow to prevent the default material CB from being defined.
|
10 years ago |
Lasse Öörni
|
88080dad31
Remove Shader Model 2 mode & instancing without stream offset (D3D9) as they are hard to test. Added Graphics::GetApiName() function.
|
10 years ago |
Yao Wei Tjong 姚伟忠
|
05a8b79fd2
Rename "Bin" subdir to "bin".
|
11 years ago |