mirror of
https://github.com/MapMakersAndProgrammers/Alternativa3D.git
synced 2025-10-26 09:59:10 -07:00
shadow type
This commit is contained in:
@@ -1149,7 +1149,6 @@ package alternativa.engine3d.materials {
|
|||||||
else if (light is DirectionalLight) materialKey += light.shadow.type << DIRECTIONAL_LIGHT_BIT;
|
else if (light is DirectionalLight) materialKey += light.shadow.type << DIRECTIONAL_LIGHT_BIT;
|
||||||
else if (light is SpotLight) materialKey += light.shadow.type << SPOT_LIGHT_BIT;
|
else if (light is SpotLight) materialKey += light.shadow.type << SPOT_LIGHT_BIT;
|
||||||
|
|
||||||
|
|
||||||
// Для группы создаем программу и дроуюнит
|
// Для группы создаем программу и дроуюнит
|
||||||
// Opaque pass
|
// Opaque pass
|
||||||
if (opaquePass && alphaThreshold <= alpha) {
|
if (opaquePass && alphaThreshold <= alpha) {
|
||||||
|
|||||||
Reference in New Issue
Block a user