Bundle ThreeJS compatible shaders in Needle GLB

Hello, I want to use an animated lit shader for some water.

I saw that when exporting custom shaders form Unity, Needle uses the NEEDLE_techniques_webgl extension to describe the shaders. Each “program” gets a vertex and a fragment shader, and the shaders themselves are stored in a binary format with a filename. I’m guessing that the Needle viewer saves the binary data to the files and then loads the shaders from there and assigns them to the objects which require these shaders.

I would like to insert my threejs compatible shaders for the water object directly into the GLB. Would that be possible? Maybe add them to the Unity project as resources and link them somewhere in the Needle export scripts?

I ended up making a Typescript component which replaces the sharedMaterial of the Renderer component with a material built directly in three js. Now I need to make a water shader that looks how I want it to look.