PagedGeometry makes its shaders in runtime. Nothing hard there, it could be rewritten with #ifdefs. But it may require modifying the grass loader even more. May be make custom grass loader (with different class name) to simplify the updating?
P.S. As a thought: we can still support DirectX by compiling GLSL shaders with Cg (-oglsl option). Not sure about how it will work through.
PagedGeometry makes its shaders in runtime. Nothing hard there, it could be rewritten with #ifdefs. But it may require modifying the grass loader even more. May be make custom grass loader (with different class name) to simplify the updating?
P.S. As a thought: we can still support DirectX by compiling GLSL shaders with Cg (-oglsl option). Not sure about how it will work through.