Jump to content

[SOLVED] 2.2 renderimage2d have no material


photo

Recommended Posts

Hi,

From 2.2, we added the Camera class which have all settings for image rendering (post materials; viewport, source reflection masks; projection and modelview matrices).

So for now, instead of send arguments (ex. post materials) directly into renderImage2D you need to create instance of the Camera class, set it up and after that send into renderImage2D.

More detailed description about changes in API you can find in migration guide and documentation (Camera class, renderImage2D).

Thanks!

Link to comment
×
×
  • Create New...