Added preprocessing for effects

This commit is contained in:
Simon Lübeß
2021-02-14 15:31:58 +01:00
parent 1f33949be2
commit 6ab6a6a0b9
4 changed files with 110 additions and 12 deletions
+2 -2
View File
@@ -86,9 +86,9 @@ namespace Sandbox
{
_context = Application.Get().Window.Context..AddRef();
_effect = new Effect(_context, "content\\Shaders\\basicShader.hlsl", "VS", "PS");
_effect = new Effect(_context, "content\\Shaders\\basicShader.hlsl");
_textureEffect = new Effect(_context, "content\\Shaders\\textureShader.hlsl", "VS", "PS");
_textureEffect = new Effect(_context, "content\\Shaders\\textureShader.hlsl");
// Create Input Layout