So, I spent a good deal of time trying to wire up lights to the ShaderMaterial which was unsuccessful… It’d be nice if that was just an option. I’m going to need to stick with PushMaterial for now, which gives me the hooks I need and has plenty of reference material (pun intended ) in the material library.
I did learn a good deal more crawling through the code, and actually figured out my issue that I was trying to repro in a playground to begin with
However, I am still not able to successfully render a custom material with TypeScript in the playgrounds… I did figure out how to wire things up in Plunker. For anybody else that is interested, here is a link that demos a modified SimpleShader (5.0) with custom specular support: