Offscreen drawing (Unity)
Updated: 08/26/2025
Starting with the Cubism 5 SDK for Unity R1 beta1, offscreen drawing added in Cubism 5.3 is supported.
The Cubism SDK for Unity provides dedicated materials for offscreen drawing, and if these are set, they will be applied when the model is imported.
For more information on offscreen drawing, refer to “Offscreen drawing” in the Cubism Editor Manual.
Precautions
Models that use the new drawing method added in Cubism 5.3 are drawn in a single Render Texture, which is then displayed on a board-like game object placed on the scene. Therefore, the Z value of the local position of each object is not available. As a result, “Back To Front Z” and “Front To Back Z” cannot be used among Sorting Modes that can be set in CubismRenderController. If these are set, the order is converted to “Back To Front Order” or “Front To Back Order” internally at the time of execution.