I have made a small breakthrough. As I have been reading up on HLSL a little, I realised that the ~ symbol dosent seem to have any meening in HLSL, or so it seems (if im wrong, please correct me). So, I removed all the ~'s from the code, and got the level to run without error. However, my model is rendered completely black. I have no clue why this is, so if anyone has a clue, please tell me the error of my ways

. Thank you.