made custom shader work on software gl and ubuntu gma graphics