0

Does Meshlab allow you to write your own shaders? Currently, i can only seem to access pre-written ones like Cook-Torrance.gdp etc.

Mickey
  • 1

1 Answers1

1

Just write your .gdp, .vert and .frag files and copy them to the "shaders" directory. Next time you launch meshlab the will be available there.

If you need help with the .gdp file, just copy one of them (for example glass.gdp) and change the lines where VertexProgram="glass.vert" and FragmentProgram="glass.frag" are defined.

Rockcat
  • 3,002
  • 2
  • 14
  • 28