PDA

View Full Version : Pre-compiler fragment and vertex shaders



williamsma
05-02-2012, 03:50 PM
Can shader languages be pre-compiled?
Or do fragment and vertex shaders have to be compiled at run-time only?

I am finding some real slow start-times when I use for-loops, so that is why I ask.
If fact, I am getting a warning from Firefox about the file taking a long time. I know you can override those errors, but it would be nicer to avoid them altogether.