4

I created a mesh to which I have applied different materials with attached effects in GLSL: is there a way to export these programs?

I'm using blender 2.61

Nicol Bolas
  • 449,505
  • 63
  • 781
  • 982
Luca Davanzo
  • 21,000
  • 15
  • 120
  • 146
  • 1
    Which exporter are you using? Generally you must have a reference to the *.glsl* file on your *.material* (or *.program*) file. The shader file remains the same. – enigma Dec 03 '12 at 16:34

1 Answers1

3

There is a general GLSL exporter for blender which can be found here. You'll still need to set up your Ogre material scripts to use those shaders though, and make sure you're rendering with the OpenGL render system. There is a little bit of reference for using GLSL shaders with Ogre materials in the manual.

RavensKrag
  • 895
  • 1
  • 7
  • 9