.HLSL file for OpenGL Shaders
<p>I'm trying to make a simple OpenGL application using <a href="http://www.opengl-tutorial.org/beginners-tutorials/tutorial-2-the-first-triangle/" rel="nofollow">this</a> tutorial. It says I can give shaders whatever file extention I want. However, in VS2013, when I click "add new item", go to Visual C++ tab and add a Pixel Shader or Vertex Shader, it doesn't compile right and I get errors. Why is this happening? Why can't I use the .hlsl files for my shaders while a regular .txt simply compiles?</p>

<p>Errors I get:</p>

<ul>
<li>error x3000</li>
<li>error x1504</li>
</ul>