Closed sjqtentacles closed 4 years ago
Thank you for this. There have been a few machines the CRT shader hasn't successfully compiled on and I've been trying to track down why. I think this is it!
I'll be able to test a fix today hopefully.
Fixed with b9236af39b4213c858ef8d2281871f8f07b70c97. Thank you so much!
Confirmed fix! No more shader error printouts. Thanks
Hello!
REALLY LOVE THIS PROJECT PLEASE DON'T QUIT ON IT!!! 👍 🥇
I wanted to mention this issue I ran across and it keeps popping up on different tutorial programs I've ran. Here's the error:
$ racket main.rkt Failed to compile fragment shader: ERROR: 0:1: '*' does not operate on 'vec4' and 'vec2' ERROR: 0:1: Use of undeclared identifier 'texCoordInPixels' ERROR: 0:1: Use of undeclared identifier 'centerCoord' ERROR: 0:1: Use of undeclared identifier 'texCoordInPixels' ERROR: 0:1: Use of undeclared identifier 'distFromCenter' ERROR: 0:1: Use of undeclared identifier 'distFromCenter' ERROR: 0:1: Use of undeclared identifier 'Y' ERROR: 0:1: Use of undeclared identifier 'Y' ERROR: 0:1: Use of undeclared identifier 'Y' ERROR: 0:1: Use of undeclared identifier 'YY' ERROR: 0:1: Use of undeclared identifier 'YY' ERROR: 0:1: Use of undeclared identifier 'YY' ERROR: 0:1: Use of undeclared identifier 'Y' ERROR: 0:1: Use of undeclared identifier 'centerCoord' ERROR: 0:1: Use of undeclared identifier 'distFromCenter' ERROR: 0:1: Use of undeclared identifier 'centerCoord' ERROR: 0:1: Use of undeclared identifier 'distFromCenter' ERROR: 0:1: Use of undeclared identifier 'tx' ERROR: 0:1: Use of undeclared identifier 'ty' ERROR: 0:1: Use of undeclared identifier '
and that's for the tetris music program
I can run the program just fine using the cli
racket main.rkt
but I still see all that shader nonsense printed to stdout. Just wanted to report it. Running on Mac 10.14.6 with csfml 2.5, openal-soft 1.20.1, and libsndfile 1.0.28 successfully installed via homebrew.