I want to generate and map texture in different pattern to a model surface basing on different average light density of different regions. The input model is triangle mess. And I don’t want to do this with the support of pixel shadder. How to do with this procedural texture mapping?
Any source example code about procedural texture mapping is most helpful.Because I have no concept on the implementation of procedural texture mapping within OPENGL’s rendering pipeline.(My case is 2 dimension procedural texture mapping region by region, not 1D pixel by pixel)
Thanks a lot!!!