When building this shader effect below, the monogame content builder throws some errors.
Here are the shader files. SMAA_LOW is the actual shader added to the content builder, it builds perfectly in normal XNA.
SMAA.h : freetexthost.in
SMAA.fxh : freetexthost.in
SMAA_LOW.fx : freetexthost.in
This is the error I get.
ERROR LOG > D:/Desktop/2.0 Projects/Games/Block Games/Craft World/Source Content/Shaders/SMAA_LOW.fx
D:/Desktop/2.0 Projects/Games/Block Games/Craft World/Source Content/Shaders/SMAA_LOW.fx: D:\Desktop\2.0 Projects\Games\Block Games\Craft World\Source Content\Shaders\SMAA.fxh(207,66) : Unexpected token βcβ found. Expected CloseParenthesis
D:\Desktop\2.0 Projects\Games\Block Games\Craft World\Source Content\Shaders\SMAA.fxh(207,66) : Unexpected token βcβ found. Expected CloseBracket
D:\Desktop\2.0 Projects\Games\Block Games\Craft World\Source Content\Shaders\SMAA.fxh(207,66) : Unexpected token βcβ found. Expected CloseBracket
D:\Desktop\2.0 Projects\Games\Block Games\Craft World\Source Content\Shaders\SMAA.fxh(228,67) : Unexpected token βcβ found. Expected CloseParenthesis
D:\Desktop\2.0 Projects\Games\Block Games\Craft World\Source Content\Shaders\SMAA.fxh(228,67) : Unexpected token βcβ found. Expected CloseBracket
D:\Desktop\2.0 Projects\Games\Block Games\Craft World\Source Content\Shaders\SMAA.fxh(228,67) : Unexpected token βcβ found. Expected CloseBracket
D:\Desktop\2.0 Projects\Games\Block Games\Craft World\Source Content\Shaders\SMAA.fxh(253,67) : Unexpected token βdβ found. Expected CloseParenthesis
D:\Desktop\2.0 Projects\Games\Block Games\Craft World\Source Content\Shaders\SMAA.fxh(253,67) : Unexpected token βdβ found. Expected CloseBracket
D:\Desktop\2.0 Projects\Games\Block Games\Craft World\Source Content\Shaders\SMAA.fxh(253,67) : Unexpected token βdβ found. Expected CloseBracket
D:\Desktop\2.0 Projects\Games\Block Games\Craft World\Source Content\Shaders\SMAA.fxh(278,74) : Unexpected token βeβ found. Expected CloseParenthesis
D:\Desktop\2.0 Projects\Games\Block Games\Craft World\Source Content\Shaders\SMAA.fxh(278,74) : Unexpected token βeβ found. Expected CloseBracket
D:\Desktop\2.0 Projects\Games\Block Games\Craft World\Source Content\Shaders\SMAA.fxh(278,74) : Unexpected token βeβ found. Expected CloseBracket
D:\Desktop\2.0 Projects\Games\Block Games\Craft World\Source Content\Shaders\SMAA.fxh(304,69) : Unexpected token βcβ found. Expected CloseParenthesis
D:\Desktop\2.0 Projects\Games\Block Games\Craft World\Source Content\Shaders\SMAA.fxh(304,69) : Unexpected token βcβ found. Expected CloseBracket
D:\Desktop\2.0 Projects\Games\Block Games\Craft World\Source Content\Shaders\SMAA.fxh(304,69) : Unexpected token βcβ found. Expected CloseBracket
Please help if you can