Results 1 to 4 of 4

Thread: Where to access LWShaderHandler (user shader plugins) in LW 2019 UI

  1. #1
    Registered User
    Join Date
    Apr 2008
    Location
    California
    Posts
    8

    Where to access LWShaderHandler (user shader plugins) in LW 2019 UI

    I ported my LWShaderHandler from LW10 to 2019. The dll loads fine under "add plugin" it says Loaded "Shader (With UI)", but I don't know where the panel went to add my custom shader. It used to be "Surface Editor->Shaders", now on 2019 I can't find anything on the surface editor regarding user plugins.

    Thanks!

  2. #2
    Registered User
    Join Date
    Apr 2008
    Location
    California
    Posts
    8
    yikes I just grepped LW2018 "The ShaderHandler class has been removed from the LWSDK". I wrote a an object exporter that uses this, ie user can select a custom material and some properties for a surface and then when the export happens it grabs those settings. Any ideas for what the replacement was for shader handler that I could use for that.

  3. #3
    Registered User
    Join Date
    Apr 2008
    Location
    California
    Posts
    8
    I think I can use LWNodeHandler, looks like it's something that has per-surface data. albiet I don't need the output feature.

  4. #4
    TrueArt Support
    Join Date
    Feb 2003
    Location
    Poland
    Posts
    8,468
    If it is just exporter, you could ask user to make custom buffer.
    Like I showed in this video tutorial:


    In code which is exporting, read custom buffer data, and you have it.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •