add uniform config to main.cpp