[feature requests] SceneNode parameter for shader.

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.

Re: [feature requests] SceneNode parameter for shader.

Postby hybrid » Tue Aug 14, 2012 9:23 am

Mel wrote:I think this isn't about serializing custom user data, but about having access to the current scene node being rendered from the constants set interface. In fact, the constants set interface is already bound to the SMaterial, whenever a material is set, it uses the proper interface to set the constants of any shader. Thus, it is simpler to modify the constants set interface to have the proper scene node. Setting something similar to a lighting manager that executed an "onNodePreRender" to set the current node would help.

That's also what I understood from the initial request, and that's why I said that this has nothing to do with the user data discussion. IIRC, we have some similar change already in the ogl-es branch, which we will merge back for Irrlicht 1.9. Maybe we can build something on top of the light manager structures, or simply give access to some stats struct via the video driver. But there's no need to pass along some maps or other huge data structs.
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany

Re: [feature requests] SceneNode parameter for shader.

Postby CuteAlien » Wed Jun 22, 2016 3:09 pm

Old topic.. still required. But I don't see anything about that in ogl-es branch.
IRC: #irrlicht on irc.freenode.net
Code snippets, patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Free racer created with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
User avatar
Posts: 8468
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany

Re: [feature requests] SceneNode parameter for shader.

Postby chronologicaldot » Mon Jul 11, 2016 3:56 am

What's sad is that hybrid was talking about Irrlicht 1.9 back in 2012.
User avatar
Competition winner
Posts: 556
Joined: Mon Sep 10, 2012 8:51 am

Re: [feature requests] SceneNode parameter for shader.

Postby Mel » Tue Aug 02, 2016 10:25 am

Then let's leap to Irrlicht 3.0 Microsoft did it, why don't we? :D
"There is nothing truly useless, it always serves as a bad example". Arthur A. Schmitt
User avatar
Competition winner
Posts: 2251
Joined: Wed May 07, 2008 11:40 am
Location: Granada, Spain


Return to Open Discussion and Dev Announcements

Who is online

Users browsing this forum: No registered users and 1 guest