I killed my Madmapper software...HELP!
Posted: Thu Jun 29, 2023 11:37 pm
Hello!
I've been trying to learn how to write my own shaders in Madmapper. I bought a few books and looked at books online. I was following thecode on this site https://thebookofshaders.com/02/ and now madmapper won't open. I deleted the .plist file, but it still won't open, it just hangs and I need to do a force quit. The steps I followed were...
1. open code editor
2. delete the code for the default shader
3. copy paste this code...
#ifdef GL_ES
precision mediump float;
#endif
uniform float u_time;
void main() {
gl_FragColor = vec4(1.0,0.0,1.0,1.0);
}
this code threw an error so I deleted it and started the process over again. I finally was able to get the code to work by simply copying this line vec4(1.0,0.0,1.0,1.0) but then the software hung and now I can't open it.
I've been searching for a madmapper book or tutorial that goes through the process of how to write shaders specifically in madmapper but I can't find anything. I followed this tutorial but the code doesn't work either https://www.youtube.com/watch?v=sKQ1fDIFd9M. I found a random site that taught the same technique and the error on line 31 was commented out. Clearly I have no idea what I'm doing so if someone can please help me fix my software and point me to a book or tutorial that teaches how to write MadMapper shaders SPECIFICALLY for madmapper, from the ground up, I'd greatly appreciate it!
I've been trying to learn how to write my own shaders in Madmapper. I bought a few books and looked at books online. I was following thecode on this site https://thebookofshaders.com/02/ and now madmapper won't open. I deleted the .plist file, but it still won't open, it just hangs and I need to do a force quit. The steps I followed were...
1. open code editor
2. delete the code for the default shader
3. copy paste this code...
#ifdef GL_ES
precision mediump float;
#endif
uniform float u_time;
void main() {
gl_FragColor = vec4(1.0,0.0,1.0,1.0);
}
this code threw an error so I deleted it and started the process over again. I finally was able to get the code to work by simply copying this line vec4(1.0,0.0,1.0,1.0) but then the software hung and now I can't open it.
I've been searching for a madmapper book or tutorial that goes through the process of how to write shaders specifically in madmapper but I can't find anything. I followed this tutorial but the code doesn't work either https://www.youtube.com/watch?v=sKQ1fDIFd9M. I found a random site that taught the same technique and the error on line 31 was commented out. Clearly I have no idea what I'm doing so if someone can please help me fix my software and point me to a book or tutorial that teaches how to write MadMapper shaders SPECIFICALLY for madmapper, from the ground up, I'd greatly appreciate it!