Home Unreal Engine

Dynamic sun lighting issue

I've put together a simple shader for a dynamic sky but there seems to be a problem with my sun.

xkvf3b.jpg

I take the dot product of the camere and light vector multiply by -1 and use that as input in a spheremask.

Does anyone have an idea what the problem could be?

Replies

Sign In or Register to comment.