Search Unity

Real-time rendering 3d objects in 2d sprites

Discussion in 'Shaders' started by YooPita, Jun 20, 2020.

  1. YooPita

    YooPita

    Joined:
    Jan 28, 2017
    Posts:
    4
    I want to render 2D sprites from 3D objects in real time. Then turn the resulting sprites into pixel art. (Do not render immediately in low resolution. I want to render and reduce)
    In my opinion, it looks like a lot of textures that are rendered again when the camera overcomes a certain angle. For example, sprites are rendered every 15 degrees. This applies to static ones, such as buildings or stones. But for active objects, rendering is needed every frame or with a small delay of 2 frames.
    This way I want to avoid twitching textures.
    For example, here's about what I want to get:
    https://twitter.com/128_mhz/status/1033273647358664705
    upload_2020-6-21_0-24-18.png upload_2020-6-21_0-24-55.png
    I would not want to lose the light that hit the object and the shadow that it cast. I also want to render the object itself with a custom shader, for example, using cel shading. And I would also like to have a render with anti-aliasing.

    What are the ways to implement this solution? And what could be the problems with this?