Shader Performance Optimization – UE4 Materials 101 – Episode 7

Shader Performance Optimization – UE4 Materials 101 – Episode 7

HomeBen ClowardShader Performance Optimization – UE4 Materials 101 – Episode 7
Shader Performance Optimization – UE4 Materials 101 – Episode 7
ChannelPublish DateThumbnail & View CountDownload Video
Channel AvatarPublish Date not found Thumbnail
0 Views
This video discusses ways you can measure the performance of your shader and then optimize it so that it runs faster on the GPU. Performance measurement methods include using the built-in Shader Complexity View in Unreal's viewport, monitoring the shader's instruction count, and measuring the actual framerate or GPU millisecond timing required to render your shader. Once you know the performance of your shader, you can optimize it in several ways – including removing unused parts of the shader, restructuring mathematical formulas, merging data from one channel to perform calculations on multiple channels in one single operation, and packing texture maps into a single texture to reduce texture sampling.

Download the textures used in this video:
https://www.bencloward.com/youtube/cobblestones_d.tga
https://www.bencloward.com/youtube/cobblestones_s.tga
https://www.bencloward.com/youtube/cobblestones_r.tga
https://www.bencloward.com/youtube/cobblestones_n.tga
https://www.bencloward.com/youtube/cobblestones_ao.tga
https://www.bencloward.com/youtube/cobblestones_asmr.tga

—————————-

Find out more!!

Other videos like this:
https://www.youtube.com/watch?v=hcxetY8g_fs
https://www.youtube.com/watch?v=SXLYy6D1y80
https://www.youtube.com/watch?v=4TbvHqf0U04

Web Resources
https://www.bitshiftprogrammer.com/2018/11/shader-optimization-part-1.html
https://knarkowicz.wordpress.com/2010/10/26/shader-optimizations/
https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-optimize

Shader book recommendations
https://www.bencloward.com/resources_books.shtml
—————————-

Learn to write shaders in HLSL:
https://www.youtube.com/playlist?list=PL78XDi0TS4lEDHfahG4ddRwZ3AUrOIYcq
https://www.youtube.com/playlist?list=PL78XDi0TS4lE772rZflLkFe-WdhYEV4WE
https://www.youtube.com/playlist?list=PL78XDi0TS4lE6UnUO9OTC5M1Wo3bJLDe9

—————————-

Theme Music
Peace in the circuit – Glitch Hop
http://teknoaxe.com/Link_Code_3.php?q=1526

Background music
Crying voice – burning
https://soundcloud.com/cryingvoicemusic

Please take the opportunity to connect and share this video with your friends and family if you find it helpful.