Initial lag with shaders?
Hey there, I'd like to ask for your help.
I'm encountering a rather odd phenomena with my shaders. I noticed it first that sometimes, the game I worked on had been randomly lagging up, when I'd move about. Later I figured that this was caused when I'd begin rendering a shader for the first time after I had initialized it. If I don't render using shaders at all, the game runs fine, with no lagspikes at all. Problem is, this hangup is really noticeable.
Has anyone else encountered this problem?