UE4 RnD – Custom Shaders: Adding Visuals

For this project I will have to create several custom shader materials. One example of this is my current solution for volumetric light. As UE4 does not currently support this feature and has god-rays only as a screen-space effect, I developed a simple shader with custom textures that creates the effect of a fog that is light up by a light source. It receives data regarding it’s position to other geometry as well as the camera to create a fading effect as the user gets closer.

V1.jpg

Conclusion – While the effect is working as intended it’s visual quality leaves much to be desired as well as its behavior when interacting with other visual effects. It will be either greatly altered in visual appearance or an alternative method may be used for the final product. That being said this solution is still a much more efficient and controllable than UE4.17’s use of Volumetric Lighting which can cause great performance drops.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s