Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17825

Can pre-compiled shaders be provided in the Release version of a game?

$
0
0
From what the MSDN states, there are two ways of compiling HLSL shaders: either at runtime or "offline" -- using a tool like fxc.exe, for instance My question is, are there any risks in using pre-compiled shaders in the final game? I mean, is there any situation in which the pre-compiled shaders might not work? Or ideally shaders should always be compiled when lauching the game?

Viewing all articles
Browse latest Browse all 17825

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>