[go: up one dir, main page]

Menu

#136 Expose the node being rendered to the shaders

open
nobody
video (38)
5
2011-09-22
2011-09-22
Anonymous
No

This feature consists that the shaders could know which is the scene node which is using it. This way, the shaders can change their behavior based on them.

Examples of usage:

Skinning shaders: This way, a shader can obtain in runtime the transformation matrices useful for the joints, and change them from a scene node to another.
Deferred Rendering, lighting pass: A shader may know quickly the parameters useful for the lights, and vary them from a light to another

Discussion


Log in to post a comment.