Notifications
Clear all

[Closed] Light preview in viewport for light-emitting material plugin?

Hi,

I’m writing a renderer plug-in and a set of material plug-ins for Max 2015/2016, and soon going to port the plug-ins to Max 2017 (progress updates here). I’m using the C++ SDK.

One of the material plug-in is an area light material. How would I go about displaying some kind of previz of that material in the viewport? Being somewhat new to the Max SDK, I have no idea where to even begin looking. Would this maybe involve GraphicsWindow::lightVertex()?

Thanks everyone for the help!

Franz