Quick fix for terrain and scattersky sky in d3d9
Fix render target problem with material editor