7 Months Ago
Make sure we only load skybox if it uses a sky shader, CSkyBoxObjectDesc expects a static input layout and causes validation errors if anything else is assigned, this also makes sure you can only select skybox materials