Original Post
1. I wanna use shader for changing the only few features of pipeline. (other people may want to) But, in using shader, do I have to implement all the features of those (vertex or pixel of both) shaders? I think it is a wasteful that I make common same code for all shader programs, such like, lighting or texturing which are all implemented by default opengl pipeline that I don't want to change. Is there any other way? Do I have to paste same codes all the shader files? 2. I know '#include' is not permitted in shader code. So, Is there any other way?