@JJMGSOFTWORKS wrote:
I have been trying to get an effect from this tutorial Here in XNA to work in MonoGame. I began building into my own code and when it didn't work I Remade the project exactly like the tutorial in MonoGame but it is still not working.
The only change I had to do to get the code to build in MonoGame was on this part of the effect.
technique SpriteBatch
{
pass
{
VertexShader = compile vs_4_0 SpriteVertexShader();
}
}where vs_4_0 was previously vs_2_0. This is because MonoGame was giving me a build error relating to the version of vertex shader.
I am unsure what is causing this or where to look for help. I apologize if this is a repeat of a question but i cant find a solution. Any help or suggestions are of course greatly appreciated.
The broken effect causes no errors unfortunately but it it creates a yellow green red and black set of squares(see images). Though it should look like the grass texture from the tutorial.
I am not the best at writing effects though i have a basic understanding,
Leave a comment if You need more info on the problem. Thank You For Reading.
Posts: 15
Participants: 4