The issue is resolved by declaring a uniform variable in fragment shader. By some reason I thought that it's impossible to use uniform variables inside a fragment shader.
sbar
Member Since 14 Oct 2012Offline Last Active Oct 23 2012 03:38 PM

Find content
Not Telling