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:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user