Added method to initialize shader settings in d3d device.