Spotlight inner cone, GLTF KHR_lights_punctual (#474)

* added inner cone angle to spotlights

* refactors

* different shader entity packing

* KHR_lights_punctual

* features.txt

* spot cutoff

* seri

* fixes

* update

* angularAttenuation mad

* refactor

* attenuation refactors
This commit is contained in:
Turánszki János
2022-06-28 23:10:48 +02:00
committed by GitHub
parent 0a5e170a49
commit 86c748ed98
33 changed files with 346 additions and 254 deletions
+1 -1
View File
@@ -1532,7 +1532,7 @@ void EditorComponent::Update(float dt)
TransformComponent& transform = scene.transforms.Create(grass_interaction_entity);
force.type = ENTITY_TYPE_FORCEFIELD_POINT;
force.gravity = -80;
force.range_local = 3;
force.range = 3;
transform.Translate(P);
break;
}