Рет қаралды 53,987
This video discusses ways to 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, checking the shader's instruction count, and measureing the actual framerate or GPU milisecond timing that it takes to render your shader. Once you know your shader's performance, you can optimize it in several ways - including removing unused parts of the shader, refactoring math formulas, combining single channel data together for performing math on multiple channels in a single operation, and packing texture maps together into a single texture to reduce texture sampling.
Download the textures used in this video:
www.bencloward...
www.bencloward...
www.bencloward...
www.bencloward...
www.bencloward...
www.bencloward...
------------------------------
Learn more!!
Other videos like this one:
• UE4 Performance and Pr...
• UE4 Graphics Profiling...
• Unite 2016 - Shader Pr...
Web Resources
www.bitshiftpr...
knarkowicz.wor...
docs.microsoft...
Shader Book Recommendations
www.bencloward...
------------------------------
Learn to write shaders in HLSL:
• HLSL Shader Creation 1...
• HLSL Shader Creation 2...
• HLSL Shader Creation 3...
------------------------------
Theme Music
Peace in the Circuitry - Glitch Hop
teknoaxe.com/Li...
Background Music
Crying Voice- Burning
/ cryingvoicemusic