Spellcaster Studios

Make it happen…

Tag Archives: optimization

GLSL Optimizer

Today I integrated GLSL Optimizer to my shader code… It had some quirks: Doesn’t accept #line directives with name of the files, so I have to strip that when feeding it Doesn’t accept OpenGL 3.30 shaders   This last one isn’t that bad, although I was using 3.30 shaders (the tutorials I was using were […]

Optimizing

Let me tell you a story… As I said yesterday, I felt a real drop in performance with the pirate lair, and I couldn’t figure out what was the issue. The normal course of action (if you don’t have a decent profiler or are too lazy to find a free one) is to shut down […]

Light volumes…

In my test arena, I had some performance issues in same places, where about 9 lights were shinning in a greater or smaller degree… Considering that in a deferred renderer, the main issue is bandwidth (each shaded pixel needs at least 64 bytes of data to come in from texture memory – the G-Buffer), I […]