# Updating light paramaters in FilteringSceneIndex plugin in Hydra

**URL:** <https://forum.aousd.org/t/updating-light-paramaters-in-filteringsceneindex-plugin-in-hydra/1337>\
**Category:** Hydra\
**Created:** [March 16, 2024, 5:50am UTC](https://forum.aousd.org/t/updating-light-paramaters-in-filteringsceneindex-plugin-in-hydra/1337 "2024-03-16T05:50:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![paoloemilioselva](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.aousd.org/paoloemilioselva/32/267_2.png) [@paoloemilioselva](https://forum.aousd.org/u/paoloemilioselva)\
**Post date:** [March 16, 2024, 5:50am UTC](https://forum.aousd.org/t/updating-light-paramaters-in-filteringsceneindex-plugin-in-hydra/1337/1 "2024-03-16T05:50:47Z")

</div>

Hi,  
I’m trying to edit light parameters in a HdSingleInputFilteringSceneIndexBase ( my GameManager toy ).  
I naively assumed I can just edit these, and I can indeed see them dynamically updating in the Hydra browser ( intensity, exposure and color )

 ![image](https://us1.discourse-cdn.com/flex016/uploads/aousd/original/1X/1e588887b124fe28e4a94232e50eb0788f10e032.png)

but I don’t see any update in any render.

I can properly update xform/matrix on the same light and see the update in the viewport.

I’m updating the data with generic `HdContainerDataSourceEditor` objects,  
with `HdDataSourceLocator` pointing at the right places.

I can’t find any other location with light parameters, but maybe I’m dirtying the wrong thing… ?

I’m sure I’m missing something obvious here 🙂

cheers,  
Paolo

---

<div class="post-metadata">

**Author:** ![dlanier](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.aousd.org/dlanier/32/166_2.png) [@dlanier](https://forum.aousd.org/u/dlanier)\
**Post date:** [March 18, 2024, 1:25pm UTC](https://forum.aousd.org/t/updating-light-paramaters-in-filteringsceneindex-plugin-in-hydra/1337/2 "2024-03-18T13:25:29Z")

</div>

Hi Paolo,

Do you use an HdOverlayContainerDataSource to change the light parameters ?  
The locator to dirty the light params is HdLightSchema::GetDefaultLocator().  
Regards,  
David

---

<div class="post-metadata">

**Author:** ![paoloemilioselva](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.aousd.org/paoloemilioselva/32/267_2.png) [@paoloemilioselva](https://forum.aousd.org/u/paoloemilioselva)\
**Post date:** [March 18, 2024, 7:21pm UTC](https://forum.aousd.org/t/updating-light-paramaters-in-filteringsceneindex-plugin-in-hydra/1337/3 "2024-03-18T19:21:27Z")

</div>

Hey David,

I use an HdContainerDataSourceEditor and set the Overlay.  
I don’t use directly an HdOverlayContainerDataSource.

I use the LightSchema default locator, and I’m also using the MaterialSchema and tried a lot more schemas together too.  
The parameters are changing, when I see them in the HydraBrowser.

I can see in the code that the OverlayContainerDataSource is propagating changes to children… maybe that logic is what I’m missing ?

Are you able to edit the exposure/intensity of a light with OverlayContainers ?

cheers,  
Paolo
