Hi,
I'd like to implement a headlight, but it looks like the current Light interface does not have any context information during rendering. I was hoping that the getCenter() method could look into some sort of context object and return the camera position (or an offset from the camera position) however getCenter() doesn't take any arguments (also I'm not sure how a soft-shadow-light would use a per thread random number generator without access to some context. Next I thought maybe that there was another method that was called per frame, but it doesn't look like this is the case.
Any idea how to accomplish this with the framework as it stands?
Abe
Archive powered by MHonArc 2.6.16.