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

djethernet

New member
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!
 

djethernet

New member
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.
 

djethernet

New member
I think I can use LWNodeHandler, looks like it's something that has per-surface data. albiet I don't need the output feature.
 

Sensei

TrueArt Support
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.
 
Top Bottom