Quantcast
Channel: Questions in topic: "compute shader"
Viewing all articles
Browse latest Browse all 287

perform action on shader compilation/update

$
0
0
i am using a compute shader to generate a terrain (height map), then generate and stream a mesh into the live game. ---------- in order to iterate faster, i would like to automatically restart the terrain generator, as soon as i change / update the shader. is there a callback / way to hook up to the shader recompile? or a shader version property of some sort, that i can check for changes? ---------- ideally, i would like to get to a setup where the shader recompiles and i can use it as soon as i save the shader (not wait until i switch back to the unity editor window). that would be the best case and would help a lot with iteration speed

Viewing all articles
Browse latest Browse all 287

Trending Articles



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