Announcement

Collapse
No announcement yet.

[Feature request] Allow plugins to define shader types without having to be preloaded

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

  • replied
    Originally posted by Michael Noland View Post
    Hi John,

    Have you tried setting the module containing your shader type to PostConfigInit? That might be early enough.

    Cheers,
    Michael Noland
    I can also verify this works.

    Leave a comment:


  • replied
    Originally posted by Michael Noland View Post
    Hi John,

    Have you tried setting the module containing your shader type to PostConfigInit? That might be early enough.

    Cheers,
    Michael Noland
    +1, it definitely works!

    Leave a comment:


  • replied
    Hi John,

    Have you tried setting the module containing your shader type to PostConfigInit? That might be early enough.

    Cheers,
    Michael Noland

    Leave a comment:


  • [Feature request] Allow plugins to define shader types without having to be preloaded

    Currently, all IMPLEMENT_SHADER_TYPE macros need to be defined before the shader system is initialised. This means that any plugins that have shaders need to be preloaded specially, and this requires editing the source of the core module.

    To make plugins more self contained, there needs to be a way to work around this requirement. The cheap and nasty way would be to have a list of plugins that have shaders listed in an ini file somewhere.

    Cheers
    John
Working...
X