Is there a way to script for Lux to work on original nodes? I recently asked a question regarding Lux's ability to output values based off of the angle of a surface relative to the viewer and I thinking, if worse comes to worse, I can just script my own node. Bit of a problem though, I can't find a script node available. Personally, I'm actually quite surprised, Lux's developers seem to be on the ball for most stuff; you would think they would include one so the user isn't particularly limited.

Even if there is no way of directly scripting in Blender for Lux, I'd still be incredibly happy if I can open up my favourite plain text editor, write up a file in that and put it into a specific folder or something and have it work (all of this is assuming there's actually proper documentation to coding for Lux).
LuxCore's shader code is written in C++ and OpenCL.
To write new textures or materials, you have to clone the codebase, write your code in C++ (and optionally OpenCL) and compile the binaries with your changes.

Some information on this process:


LuxCoreRender Github Repository
Compiling LuxCore
Implementing a Texture


Unfortunately we don't have detailed in-depth documentation on the development process yet. But you are welcome to ask any question in our forums or discord.