# Hydra Storm + MaterialX version (undefined variable "u\_envLightIntensity")

**URL:** <https://forum.aousd.org/t/hydra-storm-materialx-version-undefined-variable-u-envlightintensity/2081>\
**Category:** Hydra\
**Created:** [December 13, 2024, 5:35pm UTC](https://forum.aousd.org/t/hydra-storm-materialx-version-undefined-variable-u-envlightintensity/2081 "2024-12-13T17:35:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![deadpin](https://avatars.discourse-cdn.com/v4/letter/d/43a26b/32.png) [@deadpin](https://forum.aousd.org/u/deadpin)\
**Post date:** [December 13, 2024, 5:35pm UTC](https://forum.aousd.org/t/hydra-storm-materialx-version-undefined-variable-u-envlightintensity/2081/1 "2024-12-13T17:35:18Z")

</div>

We’re in the process of moving from 24.05 to 24.11 while still using MaterialX 1.38.8 (as a first step). Can anyone confirm that, actually, you _must_ use 1.38.10 with 24.11?

We’re seeing the following when attempting Storm most likely due to [1]

```auto
Warning: in _ValidateCompilation at line 212 of C:\db\build\S\VS1564R\build\usd\src\external_usd\pxr\imaging\hdSt\glslProgram.cpp -- Failed to compile shader (FRAGMENT_SHADER): 0(2565) : error C1503: undefined variable "u_envLightIntensity"

```

[1] [Build with MaterialX v1.38.10 · PixarAnimationStudios/OpenUSD@8a454b0 · GitHub](https://github.com/PixarAnimationStudios/OpenUSD/commit/8a454b0019231762e7403c5d6fe32ad9d9d82a85)

Is this really the case or has something gone amiss somewhere else?

---

<div class="post-metadata">

**Author:** ![dhruvgovil](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.aousd.org/dhruvgovil/32/3_2.png) [@dhruvgovil](https://forum.aousd.org/u/dhruvgovil)\
**Post date:** [December 15, 2024, 12:17am UTC](https://forum.aousd.org/t/hydra-storm-materialx-version-undefined-variable-u-envlightintensity/2081/2 "2024-12-15T00:17:30Z")

</div>

Hmm I think you’re right. It looks like that commit made it so it requires 1.38.9 as a minimum (but .10 fixes several issues with 1.38.9)

---

<div class="post-metadata">

**Author:** ![klucknav](https://avatars.discourse-cdn.com/v4/letter/k/b9e5f3/32.png) [@klucknav](https://forum.aousd.org/u/klucknav)\
**Post date:** [December 18, 2024, 9:48pm UTC](https://forum.aousd.org/t/hydra-storm-materialx-version-undefined-variable-u-envlightintensity/2081/3 "2024-12-18T21:48:42Z")

</div>

We went from v1.38.8 to v1.38.10 because of those fixes. So I would go straight to MaterialX v1.38.10.

---

<div class="post-metadata">

**Author:** ![deadpin](https://avatars.discourse-cdn.com/v4/letter/d/43a26b/32.png) [@deadpin](https://forum.aousd.org/u/deadpin)\
**Post date:** [December 19, 2024, 2:05am UTC](https://forum.aousd.org/t/hydra-storm-materialx-version-undefined-variable-u-envlightintensity/2081/4 "2024-12-19T02:05:16Z")

</div>

Yes, we’ll go to 1.38.10 eventually. Staying with 1.38.8 was just (supposed to be) a temporary measure to reduce churn.

The point of this post is that there was nothing in the USD changelog, build instructions, or commit message that indicated that 1.38.9+ was actually _required_ to be used; otherwise things will break. Just wanted to check if that was really the case or if our integration went wrong.
