How to get a retro low res pixelated look in Unity | Tutorial

Поделиться
HTML-код
  • Опубликовано: 17 дек 2024

Комментарии • 68

  • @hackticdev
    @hackticdev  Год назад +32

    NOTE: If you get a 'No Cameras Rendering' message appearing, you can disable this under the 3 dots menu in the top right of the game window, the option is called 'Warn if No Cameras Rendering'

    • @weaseltears3785
      @weaseltears3785 Год назад +2

      Thanks SO much for including this man. Great video too

    • @Skikopl
      @Skikopl Год назад

      thx

  • @oculometric
    @oculometric Год назад +10

    extremely underrated channel. loving the short-format, concise tutorials :D

    • @hackticdev
      @hackticdev  Год назад

      Thank you!

    • @LongWellful
      @LongWellful Год назад

      im rly too lazy to learn but these video rly helps:D

  • @ryxrr7207
    @ryxrr7207 Год назад +5

    Just finished binge watching all your vids (to this point).
    Not only easy to understand, but also concise and well edited.
    I might not use any of what I just learned, but I know I won't regret knowing it.
    Also looking forward to more about your game, just by having a similar coloring system to the almost perfect used in TheSims3 Is a huge plus for anyone that played it before.

  • @jukebox303
    @jukebox303 Год назад +2

    This could not be coming out at a better time for me! Thanks for sharing your experience!

  • @TheStevenHedges
    @TheStevenHedges Год назад +1

    This is so cool. Awesome tip

  • @flavobarth
    @flavobarth Год назад +8

    I usually avoid video tutorials because they are often lengthy and filled with unnecessary details and self-promotion.
    But your videos are perfect! They are short, straight to the point, and convey only the necessary information in an extremely easy-to-understand manner.
    Have my like and subscription!

  • @Sharkhead123456
    @Sharkhead123456 Год назад +1

    at 0:41, i don't have that option of UI -> Raw Image. I just have UI Toolkit.... wheres that UI option?

  • @Gordygors
    @Gordygors Год назад +5

    in game, i get a message that says "Display 1 no cameras rendering" any idea why that might be? anyways, thank you very much for the video!

    • @hackticdev
      @hackticdev  Год назад +4

      It's because when you render to the render texture, the camera is no longer rendering to the screen directly. You can disable this warning under the 3 dots menu in the top right of the game window

    • @Gordygors
      @Gordygors Год назад +1

      @@hackticdev thank you very much! it worked, can't wait for more videos :)

  • @channel11-n
    @channel11-n Год назад +2

    But wouldn't this only work if the players are running the game at a 16:9 aspect ratio? Testing it at different ratios in the editor definitively squashes/stretches it. Is there a way to enforce the game runs at 16:9? All the tutorials I can find for the retro psx style in unity use a render texture method. Can unity not simply just render at a certain resolution, and then scale that to whatever the player's screen is?

    • @hackticdev
      @hackticdev  Год назад +1

      Yes, you need to change the size of the render texture and recalculate the resolution whenever the user changes their screen resolution

  • @megupets
    @megupets Год назад +3

    There area no output options on my main camera.

    • @realzguardian
      @realzguardian 10 месяцев назад

      same

    • @brenner1235
      @brenner1235 10 месяцев назад +1

      If anyone gets this issue & reads this comment, you need to install universal render pipeline in your project. I followed the video: "How to Turn on Universal Render Pipeline in Unity" by DA LAB. After installing the options popped up.

  • @MagmaMusen
    @MagmaMusen 2 месяца назад

    What's the benefit of this compared to just forcing a lower game resolution?

    • @Chris3s
      @Chris3s 2 месяца назад +1

      better UI scaling, especially if you want to run it at 4K or ultrawide 1440p. It might require some more tweaking actually to make it look good at higher resolution monitors

    • @hackticdev
      @hackticdev  2 месяца назад

      In addition to what Chris said, in my experience when rendering in a low resolution you don't have any control over whether some kind of filtering will be used, with this method you can force it to render without filtering to get the nice pixel look

  • @zarabatanaproductions9240
    @zarabatanaproductions9240 9 месяцев назад

    I did exactly this and it worked; however I am still getting mixels despite applying a 16:9 aspect ratio to a 16:9 view. There is also now a huge canvas in my 3D editor that I cannot move

  • @overcookedwalrus4482
    @overcookedwalrus4482 9 месяцев назад +1

    Does this also give performance or is it rendering the game and just putting the pixel shader on top?

  • @OfflineOffie
    @OfflineOffie Год назад +13

    If you're using URP, you can simply just reduce the "Render Scale" slider in the Render Pipeline Asset.

    • @Glade2426
      @Glade2426 2 месяца назад +1

      how exactly?

    • @fernando3289
      @fernando3289 Месяц назад

      Search your assets for "PC_RPAsset" open the "Quality" tab, and lower the render scale. ​@@Glade2426

  • @ArtusMagnificus3_2_1
    @ArtusMagnificus3_2_1 6 месяцев назад

    Thank you man!

  • @Graysland
    @Graysland 10 месяцев назад

    For me, my assets keep copying onto the screen in game and I'm wondering why it's doing that and how to fix it.

    • @zeoroy8301
      @zeoroy8301 4 месяца назад

      me too, have you fixed it now?

  • @Zalwa4
    @Zalwa4 4 месяца назад

    this question might be stupid, but i see the render texure on the map will that cahnge any thing or is it okay?

  • @Astralmess
    @Astralmess Год назад +1

    Why not go with higher base texture on models instead? Wouldn't it give you higher control over the look if you're going to use low Render Texture anyways?

    • @hackticdev
      @hackticdev  Год назад

      You definitely can do this and some games do go in this direction aesthetically - the reason I also limit the model texture resolution is to emulate the PS1 restrictions. But of course, you're not beholden to those restrictions if you don't want to be

  • @alidemorg
    @alidemorg Год назад +5

    This ruins raycasting, is there a fix for that please?

    • @CadaverKuma
      @CadaverKuma Год назад

      Use shaders 🙏

    • @woxel6131
      @woxel6131 5 месяцев назад

      hi, you can create a second camera, disable it's camera component, and in your scripts, use that secondary camera to send raycasts. This solved the problem for me. Shaders are also another option but the ones I have tried had bad performance and lighting.

  • @Sharkhead123456
    @Sharkhead123456 Год назад +1

    So, i'm doing in a kind different way. Instead of creating a Texture for the Main Camera, i simply created a resolution of 320 x 240 (something like that). And it seens to work, but i don't know if in game that would still look like a ps1, even in fullscreen. So, is your method better than the one that i did? or is it the same thing actually?

    • @hackticdev
      @hackticdev  Год назад

      The method you described will only work in the Unity Editor, not in the exported binary

  • @jokesterthemighty227
    @jokesterthemighty227 Год назад +18

    This is actually a bit bad, you add one frame delay on everything on top of having a UI image all the time, better you use URP and lower your resolution from the settings with a locked resolutiol

    • @tree1541-ye1rw
      @tree1541-ye1rw 7 месяцев назад +3

      womp womp

    • @Leo-xv8uq
      @Leo-xv8uq 3 месяца назад +1

      is there atutorial for this I am quite new to unity. also is there a way to hide this UI image when you are making the environment etc?

  • @GrandeGio95
    @GrandeGio95 10 месяцев назад

    How can I achieve this in blender ?

  • @TheMaxximusGamer
    @TheMaxximusGamer 10 месяцев назад

    when i did this the first time it worked but then my unity crasht so did the same stepps and now it doesnt work anymore gets all smeared and blurry on screen.
    did i miss something that need to be setup?

    • @hackticdev
      @hackticdev  10 месяцев назад

      Please come to our discord server and share screenshots of your issue, we might be able to help you there

  • @abouttripod4830
    @abouttripod4830 5 месяцев назад

    I would really appreciate it if you could make a similar tutorial for unreal engine🙏

  • @fredrikHW
    @fredrikHW 9 месяцев назад

    when i do it, postprocessing dosent work? (urp) can someone help?

  • @felix_55012
    @felix_55012 10 месяцев назад +3

    nice vid, i have a question: how you can make also ui pixelated?

  • @CaileanGottaSleep
    @CaileanGottaSleep Год назад

    Nice of you to show how to do it, would there be a way to make it automatically change based on the screen resolution?

    • @hackticdev
      @hackticdev  Год назад

      There isn't an easy way that I know of, but you would be able to programmatically change the size of the render texture and the raw image to be correct when the resolution is changed. You would have to calculate the correct size for the render texture based on the resolution

  • @unscriptedlogicgames
    @unscriptedlogicgames 11 месяцев назад

    Doesn't the render texture method prevent raycasts from happening?

    • @hackticdev
      @hackticdev  9 месяцев назад +1

      It shouldn't so long as the layer that the render texture is in is ignored by the raycast.

    • @unscriptedlogicgames
      @unscriptedlogicgames 9 месяцев назад

      @@hackticdev oh yeah that 'Raycast Target' check box. I remember seeing that

  • @lamar9893
    @lamar9893 5 месяцев назад

    yea but now OnMouseEnter event not working

  • @insaineven6896
    @insaineven6896 Год назад

    Waiting for the second PS1 style model video!

    • @hackticdev
      @hackticdev  Год назад

      You won't have to wait long ;)

  • @BumBum_SM
    @BumBum_SM 8 месяцев назад

    would it work for unity XR/ oculus vr

  • @happy_run
    @happy_run Месяц назад

    this kills directional lights

  • @txcslm
    @txcslm 7 месяцев назад

    Привет, я из России. Я даже представить не мог, что сделать такой красивый эффект будет так просто!

    • @Raider_YT01
      @Raider_YT01 4 месяца назад +1

      А ты случайно не знаешь как наоборот сделать? Из пикселей сделать плавность и красивую графику?

    • @txcslm
      @txcslm 4 месяца назад

      @@Raider_YT01 не использовать такие текстуры, разве что. )
      Если у тебя 3д мир, то он по-умолчанию будет более гладким.

    • @Raider_YT01
      @Raider_YT01 4 месяца назад

      @@txcslm у меня как раз 2D) а функция Low Resolution Aspect Ratios не доступна для выключения) в режиме сцены всё гладко и красиво а в режиме теста игры всё в пикселях)

  • @animo857
    @animo857 Год назад

    you should make a tutorial on how to make a short ps1 style horror game

  • @Copppopop
    @Copppopop Год назад

    noice

  • @PhoenixSS
    @PhoenixSS 3 месяца назад

    Not useful

  • @Copppopop
    @Copppopop Год назад

    noice