Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

3d skew

Discussion in 'General Discussion' started by CassClay, Jul 19, 2020.

  1. CassClay

    CassClay

    Joined:
    Mar 21, 2020
    Posts:
    20
    Hello!
    What do i need to skew a 3d object as if it’s 2d?As i see it i can play with scales but this would crunch it from just that angle. What i need is to look 2d even if i rotate it and retain that perspective. Like if it’s projected on flat surface. Any ideas? I would play with Unity but figure out someone might have a solution.
     
  2. kdgalla

    kdgalla

    Joined:
    Mar 15, 2013
    Posts:
    4,357
    What if you render the object to a render texture and apply that to a pre-skewed quad (simple, 4-vertex)? Then you'd actually be skewing it in 2D.
     
  3. CassClay

    CassClay

    Joined:
    Mar 21, 2020
    Posts:
    20
    It looks like just what i need. I’d try that. What i am trying to achieve eventually is using of 3d game assets as if they are 2d and just use pixel shader onto them. It’s something diablo 2 was using back in the days. Devs figured out that machines wont run it if it’s pure 3d, so the just made 3d assets and did made sprite sheets out of them. I just want to take one more step and pixelate everything. Might work. And also particle sfx would work that way, plus you can have pixel art game with 3d perspective if i imagine it right. Thank you for the suggestion!