# \[Sovled\] How to get a direct light source with a definable range of incidence

**URL:** <https://fspm.discourse.group/t/sovled-how-to-get-a-direct-light-source-with-a-definable-range-of-incidence/364>\
**Category:** GroIMP\
**Created:** [April 18, 2025, 3:44am UTC](https://fspm.discourse.group/t/sovled-how-to-get-a-direct-light-source-with-a-definable-range-of-incidence/364 "2025-04-18T03:44:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![j\_lp](https://dub1.discourse-cdn.com/flex005/user_avatar/fspm.discourse.group/j_lp/32/133_2.png) [@j\_lp](https://fspm.discourse.group/u/j_lp)\
**Post date:** [April 18, 2025, 3:44am UTC](https://fspm.discourse.group/t/sovled-how-to-get-a-direct-light-source-with-a-definable-range-of-incidence/364/1 "2025-04-18T03:44:04Z")

</div>

Hello friends from the forum, I have encountered a problem with direct light source in the process of using Groimp software, and I hope it can be solved.

I’ve found that the direct light source (de.grogra.imp3d.objects.DirectionalLight) will adapts its size automatically to the size of the scene, but I currently need a custom sized direct light source and don’t want it to change automatically with the size of the scene.

Thank you!

---

<div class="post-metadata">

**Author:** ![gaetanH](https://avatars.discourse-cdn.com/v4/letter/g/edb3f5/32.png) [@gaetanH](https://fspm.discourse.group/u/gaetanH)\
**Post date:** [June 2, 2025, 6:36am UTC](https://fspm.discourse.group/t/sovled-how-to-get-a-direct-light-source-with-a-definable-range-of-incidence/364/2 "2025-06-02T06:36:57Z")

</div>

Hi,  
Since GroIMP 2.2, there is a light (de.grogra.imp3d.objects.LaserLight) that is a directional light with a fixed radius. The radius is set with .setRadius(double). All other aspect of the light are the same as the directional one.
