# Moonbeam light source with cylindrical godray

**URL:** <https://forums.unrealengine.com/t/moonbeam-light-source-with-cylindrical-godray/2283197>\
**Category:** Architectural and Design Visualization\
**Tags:** unreal-engine\
**Created:** [January 17, 2025, 7:57pm UTC](https://forums.unrealengine.com/t/moonbeam-light-source-with-cylindrical-godray/2283197 "2025-01-17T19:57:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fleischverpackung](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fleischverpackung/32/693644_2.png) [@fleischverpackung](https://forums.unrealengine.com/u/fleischverpackung)\
**Post date:** [January 17, 2025, 7:57pm UTC](https://forums.unrealengine.com/t/moonbeam-light-source-with-cylindrical-godray/2283197/1 "2025-01-17T19:57:18Z")

</div>

hi all,

I followed a tutorial creating a light function material and a shader radial gradient function which draws a sharp white circle. I added this to my spotlight, but the light still throws a cone through my fog.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/f/3/5f3fa1426de6d98d3ddad7a0db1255bd071ea977.jpeg)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/b/b/cbb1f2374b5de5b63c30643aa46cf8ad6d827fcb.jpeg)

I am also open for other quick ways to implement a cylindrical light beam with pretty sharp boundaries.

thanks!
