[2.1] Low Level Material Renderable Object Problem.

Discussion area about developing with Ogre-Next (2.1, 2.2 and beyond)


dummy_98
Kobold
Posts: 38
Joined: Sat Oct 31, 2015 7:12 pm
x 1

[2.1] Low Level Material Renderable Object Problem.

Post by dummy_98 »

As far as I know,
Low Level Material is characterized by backward compatibility and flexibility, not performance.

But I was migrating to version 2.1 ... I felt there were unnecessary constraints on the Low Level Material.

For example ,
Renderable :: preRender
Renderable :: postRender
The 2 functions above are not used.

In Ogre 2.0
I used scissorRectTest function in the above two functions,
In Ogre 2.1, even the scissorRectTest function has been removed.

Low Level Materials are focused on compatibility and flexibility, not performance, but I don't understand why these features are blocked.

sure ,
Renderable :: preRender
Renderable :: postRender
Since these two functions are virtual functions, they cannot be used unless inherited .... Because of the many restrictions.
 Renderable seems better to have a listener that serves two functions.

Renderable :: Listener :: prePrender
Renderable :: Listener :: postPrender
like...

I personally don't want to modify the engine, I want to hear from the engine developer.