Announcement

Collapse
No announcement yet.

Inline GLSL in Q3 shader files? (Darkplaces)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Inline GLSL in Q3 shader files? (Darkplaces)

    Is it possible to do something like this:
    GLSL - OpenArena
    in Darkplaces also?
    E.g. easily adding custom GLSL effects on level and model textures?

  • #2
    no.

    the only way is to hack some special shader mode and to modify the supershader to handle that special shader mode specially, which will mess up that mode's normal behaviour.
    you might be able to get away with reusing an existing mode as-is though.
    Last edited by Spike; 06-14-2013, 05:44 PM.
    Some Game Thing

    Comment


    • #3
      Thanks for the reply.

      However isn't OA using a similar concept of a super-shader from which individual GLSL functions are called in the Q3like shader?

      I have no experience with the code behind it at all, but from the outside it would seem like an easy modification to allow a similar behaviour?

      Such a feature would be really nice for mappers.

      Comment

      Working...
      X