HDRP area tube light

I it possible to change the length of a tube light in script

You already posted a thread about this: HDRP tube light . Again, what’s a tube light?

its in the HDRP package. you make an area light and then set its type to a tube light.

It’s probably somewhere in HDAdditionalLightData: Redirecting to latest version of com.unity.render-pipelines.high-definition

There are shapeRadius, shapeWidth, and shapeHeight fields. Try those out.

1 Like

Thanks for the reply. but i’m not sure. ill tell you if I find something. I have a hard time with scripting.

O MY GOSH it works perfectly thank you SO MUCH!
GOD BLESS YOU GOOD SIR!
thanks

Haha awesome! Looks like a lightsaber.

Yea I think I need to edit the intensity of that light. thanks again.

Can you share the line of code to change the length? I cant acess any “shapeWidth” in my tube light