Fixes material generation for new shaders/material system
Merge pull request #1235 from seanpaultaylor/next

Fixes material generation for new shaders/material system