woensdag 9 juli 2008

Shader Editor


I started the other night creating a shader editor, because editing the material files by hand, is a tedious job, everything has to be spelled correctly, otherwise textures won't load, fragment programs won't run etc. etc.

On the upper-right there is going to be a realtime preview. there are 3 tabs the most obvious ones on this pic are the vertex & fragment shader, the texture panel is going to be an openGLCanvas where all supported textures can be dropped on so one could choose what kind of texture it is, as well as setting it's properties, of that texture stage, rotation, scaling etc. When pressed 'ok' a new Material file will be generated and added to the list. Which is much nicer, than editing everything by hand, I wanted to start integrating the entity handling events this week, but i will first finish this.

Paul

Geen opmerkingen: