# Blender QLE (Quick Lighting Environment) – Free Addon

**URL:** <https://blenderartists.org/t/blender-qle-quick-lighting-environment-free-addon/1249762>\
**Category:** Released Add-ons and Extensions\
**Tags:** add-ons, free, lighting\
**Created:** [August 27, 2020, 11:02pm UTC](https://blenderartists.org/t/blender-qle-quick-lighting-environment-free-addon/1249762 "2020-08-27T23:02:33Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![don1138](https://blenderartists.org/user_avatar/blenderartists.org/don1138/32/718541_2.png) [@don1138](https://blenderartists.org/u/don1138)\
**Post date:** [August 27, 2020, 11:02pm UTC](https://blenderartists.org/t/blender-qle-quick-lighting-environment-free-addon/1249762/1 "2020-08-27T23:02:33Z")

</div>

**I’m new to Python, but I’ve made my first Blender addon.**

It’s called **Blender-QLE (Quick Lighting Environment)**, and it drops three area lights into a new collection in a scene. You can add/remove the collection as many times as you like.

[Download Blender QLE v1.5.5](https://github.com/don1138/blender-qle/releases/download/1.5.5/QLE_1.5.5.zip)

[Github repo](https://github.com/don1138/blender-qle)

> **[Blender QLE (Quick Lighting Environment) v1.6.5](https://don1138.gumroad.com/l/blender-qle)**
>
> Blender QLE is a Blender 2.8+ add-on that installs a panel named Quick Lighting Environment under Properties \> Scene.Click Add Environment to:Create a World named "QLE World" with World \> Surface strength set to 0.25 and a Blackbody value of...

 ![](https://blenderartists.org/uploads/default/original/4X/6/4/a/64a842b3188e41fc0cff045270b0be37fe491c27.jpeg)

I hacked it together from what I’ve gleaned from the built-in templates, YouTube tutorials, and threads on Stack Exchange, but I’m sure it could be improved. 🧼

**I’d love to get some feedback** , especially in regard to a bug I can’t seem to get a handle on: If I manually delete one of the lights, then it breaks the add/remove collection function.

I’m thinking that I might need to purge all three area lights from the file before re-adding the collection, or maybe I just need to move the existing objects back to the scene and reconnect them. Or maybe it’s an issue with how I’m instancing the objects in the first place? As I said, I’m new to Python and coding Blender, so perhaps I’m missing something obvious.

Anyway, I’d love some feedback, and if anyone has any suggestions for improving or optimizing it, or an idea on how to fix the add/remove bug, I’d be grateful for your help.

---

<div class="post-metadata">

**Author:** ![AndyCuccaro](https://blenderartists.org/user_avatar/blenderartists.org/andycuccaro/32/1471690_2.png) [@AndyCuccaro](https://blenderartists.org/u/AndyCuccaro)\
**Post date:** [August 28, 2020, 2:46am UTC](https://blenderartists.org/t/blender-qle-quick-lighting-environment-free-addon/1249762/2 "2020-08-28T02:46:31Z")

</div>

That’s cool! What’s the difference with the built-in addon Tri-Lighting?

---

<div class="post-metadata">

**Author:** ![don1138](https://blenderartists.org/user_avatar/blenderartists.org/don1138/32/718541_2.png) [@don1138](https://blenderartists.org/u/don1138)\
**Post date:** [August 28, 2020, 5:00am UTC](https://blenderartists.org/t/blender-qle-quick-lighting-environment-free-addon/1249762/3 "2020-08-28T05:00:27Z")

</div>

Good point. I don’t consider this a replacement for Tri-Lighting, but I was regularly making a different lighting setup (similar to what I saw on Chris Prenninger’s Youtube), so I made this addon as a way to learn about using Python to manipulate Blender.

The main differences are:

- The light intensity is much higher (300w vs 1.5w)
- The shape of the lights are rectangular rather than square
- The surface area is much larger
- The color is set to “natural” light using a Blackbody node
- They are constrained to a target, so moving (or animating) one target redirects all three lights.
- They’re gathered in a Collection so showing/hiding them is one-click
- One button click to clear the setup

I think Tri-Lighting positions the lights better, so I might eventually adopt those coords. 🤫

---

<div class="post-metadata">

**Author:** ![Metin\_Seven](https://blenderartists.org/user_avatar/blenderartists.org/metin_seven/32/1533754_2.png) [@Metin\_Seven](https://blenderartists.org/u/Metin_Seven)\
**Post date:** [August 28, 2020, 6:51am UTC](https://blenderartists.org/t/blender-qle-quick-lighting-environment-free-addon/1249762/4 "2020-08-28T06:51:20Z")

</div>

Nice, thanks for sharing.

If you select one or more objects before adding the built-in Tri-Lighting lights, the lights will be targeted at the object selection with a TrackTo constraint.

Maybe you could add an option to QLE for a procedural softbox gradient texture, so the lights will not be unrealistically harsh in reflections.

It would also be great if you could select a light, then activate a function to click on an object and have the light positioned in a straight line towards the clicked spot, keeping the same distance.

Thanks.

---

<div class="post-metadata">

**Author:** ![AndyCuccaro](https://blenderartists.org/user_avatar/blenderartists.org/andycuccaro/32/1471690_2.png) [@AndyCuccaro](https://blenderartists.org/u/AndyCuccaro)\
**Post date:** [August 28, 2020, 12:15pm UTC](https://blenderartists.org/t/blender-qle-quick-lighting-environment-free-addon/1249762/5 "2020-08-28T12:15:20Z")

</div>

Great to know, thanks! I like @Metin_Seven suggestions, if you want to consider them 😉

---

<div class="post-metadata">

**Author:** ![don1138](https://blenderartists.org/user_avatar/blenderartists.org/don1138/32/718541_2.png) [@don1138](https://blenderartists.org/u/don1138)\
**Post date:** [August 29, 2020, 9:35pm UTC](https://blenderartists.org/t/blender-qle-quick-lighting-environment-free-addon/1249762/6 "2020-08-29T21:35:47Z")

</div>

I hadn’t dug into Tri-Lighting, so I took another look, and it’s pretty great. I can learn a lot from the code.

For example, I’m thinking I can put the common light settings into a variable and reduce the number of lines of code.

Road not take, but looking at that script, I wonder if forking Tri-Lighting and adding my features might have been a better path. Anyway…

“Procedural softbox gradient texture” is a new thing to me. Sound worth learning about, so I’ll do some googling.

And click-targeting is also an interesting idea. Once again, I think Tri-Lighiting has some code that I might be able to adapt for the function.

Thanks for the suggestions. I appreciate the feedback. I’ll add them to the roadmap, but my current task at hand is figuring out how to fix the error when re-adding a setup after deleting a single light.

---

<div class="post-metadata">

**Author:** ![don1138](https://blenderartists.org/user_avatar/blenderartists.org/don1138/32/718541_2.png) [@don1138](https://blenderartists.org/u/don1138)\
**Post date:** [September 13, 2020, 1:59am UTC](https://blenderartists.org/t/blender-qle-quick-lighting-environment-free-addon/1249762/7 "2020-09-13T01:59:35Z")

</div>

## Version 1.5.3

I found an obvious mistake in the code: Clear Environment would also delete any objects already selected in scene. 🤦‍♂️

- Now it only deletes QLE objects, and also does an `orphans_purge()` to remove deleted objects from file
- Also, miscellaneous code cleanup, slimming, and function-izing

> > Github: [**Blender QLE 1.5.3**](https://github.com/don1138/blender-qle/releases/download/v1.5.3/QLE_1.5.3.zip)

> > Gumroad (Free): [**Blender QLE (Quick Lighting Environment) v1.5.3**](https://gumroad.com/l/blender-qle)

**I’m still dealing with the bug that hits when you manually delete a light and click Add Environment again.**

Frustrating, but I see now that its an issue with how I’m creating collections. It works fine on a fresh scene, but if any of the previous objects exist, it errors out.

Still looking for help with that if anyone has any ideas

---

<div class="post-metadata">

**Author:** ![don1138](https://blenderartists.org/user_avatar/blenderartists.org/don1138/32/718541_2.png) [@don1138](https://blenderartists.org/u/don1138)\
**Post date:** [March 10, 2021, 7:16pm UTC](https://blenderartists.org/t/blender-qle-quick-lighting-environment-free-addon/1249762/8 "2021-03-10T19:16:20Z")

</div>

Updated to v1.5.4 (bug fixes)

---

<div class="post-metadata">

**Author:** ![don1138](https://blenderartists.org/user_avatar/blenderartists.org/don1138/32/718541_2.png) [@don1138](https://blenderartists.org/u/don1138)\
**Post date:** [July 18, 2021, 11:18pm UTC](https://blenderartists.org/t/blender-qle-quick-lighting-environment-free-addon/1249762/9 "2021-07-18T23:18:56Z")

</div>

### Updated to [v1.5.5](https://github.com/don1138/blender-qle/releases/tag/1.5.5)

- Fixed error if scene.world.name is not named “World”
- Creates new World named “QLE World” and swaps it with existing World on Add/Delete

---

<div class="post-metadata">

**Author:** ![don1138](https://blenderartists.org/user_avatar/blenderartists.org/don1138/32/718541_2.png) [@don1138](https://blenderartists.org/u/don1138)\
**Post date:** [December 25, 2021, 4:24pm UTC](https://blenderartists.org/t/blender-qle-quick-lighting-environment-free-addon/1249762/10 "2021-12-25T16:24:01Z")

</div>

## Updated to [1.6.0](https://github.com/don1138/blender-qle/releases/tag/v1.6.0)

It’s been a while since I touched this add-on, so I gave it some holiday love.

 ![blender-qle](https://blenderartists.org/uploads/default/original/4X/8/6/a/86a045d99b0d17f30260eac8606379b854080069.jpeg)

- Added new Light `Area_Back`
- Set `Area_Left` blackbody to `3800` (orange tint)
- Set `Area_Right` blackbody to `8800` (blue tint)
- Adjusted light positions
- Added `Backdrop` object to scene
- Bugfixes and tweaks

---

<div class="post-metadata">

**Author:** ![don1138](https://blenderartists.org/user_avatar/blenderartists.org/don1138/32/718541_2.png) [@don1138](https://blenderartists.org/u/don1138)\
**Post date:** [December 29, 2021, 7:14pm UTC](https://blenderartists.org/t/blender-qle-quick-lighting-environment-free-addon/1249762/11 "2021-12-29T19:14:01Z")

</div>

## Updated to [1.6.1](https://github.com/don1138/blender-qle/releases/tag/v1.6.1)

- Bugfix **Clear Collection**

---

<div class="post-metadata">

**Author:** ![don1138](https://blenderartists.org/user_avatar/blenderartists.org/don1138/32/718541_2.png) [@don1138](https://blenderartists.org/u/don1138)\
**Post date:** [May 23, 2022, 2:04am UTC](https://blenderartists.org/t/blender-qle-quick-lighting-environment-free-addon/1249762/12 "2022-05-23T02:04:24Z")

</div>

# Blender QLE Updated to [1.6.2](https://github.com/don1138/blender-qle/releases/tag/v.1.6.2)

 ![QLE-00](https://blenderartists.org/uploads/default/original/4X/0/1/d/01d608c986ee2befedd7255819118b1e6dd9915c.jpeg)

**1.6.2**

- Change **QLE World** , **Area Fill** , and **Area Back** blackbody from `5800` to `5454` (equal energy)
- Change **QLE World** strength from `0` to `0.25`
- Change **Backdrop** color to `#808080` (neutral gray)
- Adjust light positions

---

<div class="post-metadata">

**Author:** ![don1138](https://blenderartists.org/user_avatar/blenderartists.org/don1138/32/718541_2.png) [@don1138](https://blenderartists.org/u/don1138)\
**Post date:** [May 28, 2022, 1:28am UTC](https://blenderartists.org/t/blender-qle-quick-lighting-environment-free-addon/1249762/13 "2022-05-28T01:28:59Z")

</div>

# Blender QLE Updated to [1.6.3](https://github.com/don1138/blender-qle/releases/tag/v1.6.3)

 ![QLE-00](https://blenderartists.org/uploads/default/original/4X/e/2/2/e225eda1162e02cc6b8de48ffa448b538c8af1d7.jpeg)

**1.6.3**

- Change `Area_Fill` light shape to `DISK` and location Z to `8`
- Change `Area_Left` and `Area_Right` light dimensions to `2` x `6`
- Change `Backdrop` roughness to `1`

---

<div class="post-metadata">

**Author:** ![don1138](https://blenderartists.org/user_avatar/blenderartists.org/don1138/32/718541_2.png) [@don1138](https://blenderartists.org/u/don1138)\
**Post date:** [May 31, 2022, 10:08pm UTC](https://blenderartists.org/t/blender-qle-quick-lighting-environment-free-addon/1249762/14 "2022-05-31T22:08:10Z")

</div>

# Blender QLE Updated to [1.6.4](https://github.com/don1138/blender-qle/releases/tag/v1.6.4)

 ![Lighting Setup 01](https://blenderartists.org/uploads/default/original/4X/5/3/a/53a4a4c691b4eeaa8b8efe4fd433be294069d048.png)

**1.6.4**

- **Bugfix:** If you launch Blender and open a file with an existing **QLE** collection, deleting the collection sets the `World` to null, and causes an error when adding the collection again

---

<div class="post-metadata">

**Author:** ![Monke\_Man](https://blenderartists.org/user_avatar/blenderartists.org/monke_man/32/1300210_2.png) [@Monke\_Man](https://blenderartists.org/u/Monke_Man)\
**Post date:** [September 25, 2024, 5:03am UTC](https://blenderartists.org/t/blender-qle-quick-lighting-environment-free-addon/1249762/15 "2024-09-25T05:03:36Z")

</div>

Can you perhaps lend me the code for the addon?, i would like to test somethings on it. i can show u the final results if u want and u can even add it into your original code.

Discord id is: monke\_man699.\_48020

---

<div class="post-metadata">

**Author:** ![don1138](https://blenderartists.org/user_avatar/blenderartists.org/don1138/32/718541_2.png) [@don1138](https://blenderartists.org/u/don1138)\
**Post date:** [September 25, 2024, 11:27pm UTC](https://blenderartists.org/t/blender-qle-quick-lighting-environment-free-addon/1249762/16 "2024-09-25T23:27:51Z")

</div>

Sure, it’s all open source, so go nuts. [Grab it from Github.](https://github.com/don1138/blender-qle)

---

<div class="post-metadata">

**Author:** ![don1138](https://blenderartists.org/user_avatar/blenderartists.org/don1138/32/718541_2.png) [@don1138](https://blenderartists.org/u/don1138)\
**Post date:** [October 28, 2026, 9:06pm UTC](https://blenderartists.org/t/blender-qle-quick-lighting-environment-free-addon/1249762/17 "2026-10-28T21:06:16Z")

</div>

## QLE 2.0 Beta Testers Wanted

Over the years, I’ve heard a lot of suggestions for improving QLE. The most common request was for a control panel in the 3D Viewport, so I built one.

 ![blender-qle](https://blenderartists.org/uploads/default/original/4X/f/9/7/f97d8582b5422c4a3b0f985e1bf108a61be810b5.jpeg)

I’m looking for beta testers for version 2. Rather than dump a ZIP in public and hope that someone might give me feedback, I’m asking folks who are interested in testing it to email me directly.

If you’re interested, email me at [qle-beta@sketchbookclub.com](mailto:qle-beta@sketchbookclub.com?subject=QLE%202.0%20Beta%20Test&body=I%27ve%20been%20using%20QLE%2C%20and%20I%27d%20like%20to%20help%20test%20the%20new%20version.) with the subject line **“QLE 2.0 Beta Test”** and a message like, “I’ve been using QLE, and I’d like to help test the new version.” That’s just to establish that you’re not a bot.

I’ll send you a ZIP, and you can give it a shakedown and let me know if it’s a winner or a loser.
