Great resource! One error I get after conversion is syntax error: unexpected end of file at line...(d3d11) However I can see nothing wrong at that specific line pa=length(p); I guess the problem lies elsewhere? Perhaps the location of ENDCG or???