Details
Description
The current shader generation needs some work to be able to work as an independent module. The first step is to reduce the states the material generator keeps and de-couple it from any code that requires a window or other graphics APIs to be hot, i.e., the code should be self-dependent and the same code path should be used for generating shader both at runtime and offline.