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 |
Lasse Öörni
|
f36abeb57c
Force highp for shadow related samplers, uniforms & varyings on GLES for better shadows on iOS. Note: may be incompatible for some mobile GPU's that don't support highp at all.
|
9 years ago |
Lasse Öörni
|
a123794886
Normal offset support in GLSL. Fix deferred specular in GLSL.
|
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 |
Lasse Öörni
|
d13addbbd7
Fix Vegetation shadow shader for D3D11. Ensure LitSolid changes are ported to Vegetation shader. Put wind related parameters to a custom constant buffer on D3D11. Closes #1052.
|
10 years ago |
Lasse Öörni
|
2a34d35dec
Added missing vertex color variation to the LitSolid shaders.
|
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
|
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
|
b96f47db61
Change order of matrix multiplies in GLSL to eliminate need to transpose matrix uniforms and make the order consistent with skinned & instanced rendering.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
05a8b79fd2
Rename "Bin" subdir to "bin".
|
11 years ago |