1-Bit Graphics In Unity | Obra Dinn Tutorial

1-Bit Graphics In Unity | Obra Dinn Tutorial

Madalaski

3 года назад

53,479 Просмотров

Give the project a download if you want to see the final effect without YouTube compression!
https://github.com/Madalaski/ObraDinnTutorial

Twitter: https://twitter.com/Madalaski
Itch.io: https://madalaski.itch.io/

Find The First Person (beta) package here:
https://github.com/boaheck/TheFirstPerson

And here's Breogán's itch page:
https://boaheck.itch.io/

Lucas Pope's Posts:
https://forums.tigsource.com/index.php?action=profile;u=3073;sa=showPosts

Get The Return Of The Obra Dinn on Steam:
https://store.steampowered.com/app/653530/Return_of_the_Obra_Dinn/

Or better yet, buy the recently released OST on Spotify and Apple Music! Which I apparently could have used for this video! Dammit!

Steps:
- Attach the ObraDinnCameraScript to the main camera of your scene.
- Create a Material with the Dither shader and place it in the "Dither Mat" parameter of the Camera script.
- Set the Dither and Noise properties of this material to the noise textures you want to use and the Color Ramp property to the colour ramp you want to use.
- Adjusting the Tiling property to get the right pixel density with whatever projection you're using.
- Set the resolution of your game screen to 820x470 (the native resolution of Return of the Obra Dinn) or 1640x940 if you're using the 2x sampling method (this helps with performance).
- Make a second material with the thresholding shader if you're using it and set it to the Threshold Mat property.
- If you're using the custom surface shader, you'll need to make materials out of it and place it onto all the objects in your scene.
- For performance Lucas Pope also did custom lightmapping for this and I have no clue how he did it, but you should look it up!

Free Noise Textures that I used:
http://momentsingraphics.de/BlueNoise.html

I created my own Code Animator project to create the code animations for this video. You can find the pre-pre-pre-Alpha here if you desperately need something like this:
https://github.com/Madalaski/CodeAnimator

Hall of the Mountain King Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0 License
http://creativecommons.org/licenses/by/3.0/

#obradinn #tutorial #madeinunity

Тэги:

#obra_dinn_shader #obra_dinn_tutorial #gamedev #game_development #obra_dinn_in_unity #obra_dinn_c# #obra_dinn #1-bit #dither #unity #unity3d #unity_2021 #unity_tutorial #how_to_make_games
Ссылки и html тэги не поддерживаются


Комментарии:

Hans Peter
Hans Peter - 30.10.2023 17:02

I am currently doing my Master in Games Engineering and I have no clue how you got so profcient in writing shaders.
I know the math on a okay level, but the things you do are extremely technical and would take me weeks or months of frustration to find out/or not being able to do it at all (I shiver just when thinking about every badly documented Unity Function, bug, and lack of math knowledge to do it).

I once wanted to do Phyiscs Calculation (stars) on a 2D texture and map it on the skybox and i couldn't make it work :/ like that

Ответить
MrBoko1234
MrBoko1234 - 20.10.2023 14:20

Is this doable in Godot ?

Ответить
ps games
ps games - 19.10.2023 12:24

Will you please make an example of this shader in ShaderToy and apply on any Video from ShaderToy?

Ответить
Adrian Duke
Adrian Duke - 12.07.2023 07:45

Thanks for the help on my homework LOL

Ответить
Leprochant
Leprochant - 20.06.2023 18:28

I would like to know if I can create a face, a scenery, or a scene and then sell it as an NFT on a marketplace just like with any digital creation software.

Ответить
Badwizard
Badwizard - 23.03.2023 21:22

How come it looks good in the Obra Dinn though?

Ответить
Pancake Lele
Pancake Lele - 31.12.2022 20:21

Does this work with URP?

Ответить
Nuno Neves
Nuno Neves - 14.12.2022 15:09

Of all the things you could have done with your time, I for one appreciate that you made this video, made me smile in the moments that you did what would not be sane to do and go the extra mile for this clip. That's love for the job right there! All the best to you pal.

Ответить
flamshiz
flamshiz - 01.10.2022 08:23

this has been super helpful. i'm currently trying to implement dithering on a 2-bit color system and i think i can see a way forward using this method

Ответить
ezui
ezui - 09.09.2022 15:03

is it ok if i used this in my game?

Ответить
Latté
Latté - 30.08.2022 02:49

the Patreon fakeout at the end was REALLY GOOD

Ответить
손설
손설 - 29.07.2022 02:57

it's very nice shader graphics

Ответить
Cheesecannon25
Cheesecannon25 - 21.04.2022 04:44

What game was patented?

Ответить
Alan Zucconi
Alan Zucconi - 10.04.2022 14:36

Such a great video!

Ответить
Joseph Carrasco
Joseph Carrasco - 08.02.2022 08:02

Yay! Thank you so much for sharing 😋 Fast but to the point. Will be using this if I go 3d for my game. Just curious are you able to do more than just 2 colors?

Ответить
Ali
Ali - 19.01.2022 16:20

i dont understand what do i need to create

Ответить
EinKleiner Rabe
EinKleiner Rabe - 03.11.2021 23:59

Soo cool

Ответить
Glass109
Glass109 - 04.09.2021 02:45

I barely understood anything
The bitrate killed himself everytime you switched from the game to the editor
But that is on of the best videos i've watched this month, thanks

Ответить