Abstract:With the era of programmable graphics hardware, shader replaces the traditional fixed rendering pipeline to achieve more realistic effects. The rise of high-level shading language gives the convenience to writing shader, but still brings some unique challenges. This paper implements a GLSL shader editing environment based on OSG, in order to greatly simplify the shader coding and help shader developers to develop a parameterized shader. We also extends the range of applications of the results by using OSG’s plug-in mechanism.