You can now support this channel on Patreon! patreon.com/aarthificial You don't have to tho. I'll love you anyway 🖤
@ven68153 жыл бұрын
17 hours in and already at 86$ congrats, you broke the record
@Madman54653 жыл бұрын
Would give, but dont really have the money for it atm. But hopefully will later!
@vikara3 жыл бұрын
>Makes top quality videos for over a year, each of which can send you down hours long research rabbit holes >"Ive decided to become a sellout" The fact that you reached your initial goal within 2 hours of opening the damn thing is not a surprise
@rubpty Жыл бұрын
Thank you aarthificial for this great shader. The Shader works perfectly fine in Unity 2021, but for those of you trying to use the Shader in Unity 2022 you will find 2 errors. I will explain you how to fix them in a detail way. The first error is: "You can only call cameraColorTarget inside the scope of a ScriptableRenderPass. Otherwise the pipeline camera target texture might have not been created or might have already been disposed." This error happens in line 47 of the VelocityRenderFeature Class. To resolve it, you need to comment out the line of code in the VelocityRenderFeature Class (line 47 for me), override the SetupRenderPasses function, and then add the line in the new format as shown below: public override void AddRenderPasses(ScriptableRenderer renderer, ref RenderingData renderingData) { //_pass.ConfigureTarget(renderer.cameraColorTarget); //COMMENT THIS LINE OF CODE _pass.Setup(settings, simulation); renderer.EnqueuePass(_pass); } //ADD THIS OVERRIDE FUNCTION public override void SetupRenderPasses(ScriptableRenderer renderer, in RenderingData renderingData) { _pass.ConfigureTarget(renderer.cameraColorTargetHandle); //ADD THIS LINE OF CODE } The second error is: 'Hidden/PixelGraphics/Velocity/Blit': Couldn't open include file 'Packages/com.unity.render-pipelines.universal/Shaders/Utils/Fullscreen.hlsl' This error was mentioned in the comments below. This happens because Unity 2022 no longer has the fullscreen.hlsl shader in the given path. What I did was to open a project using Unity 2021, then I went to the given path: 'Packages/com.unity.render-pipelines.universal/Shaders/Utils/Fullscreen.hlsl', then I copy the Fullscreen.hlsl shader from the Package folder to the Asset folder and export it as a Package. In Unity 2022, you need to import the custom package, and in the Blit Shader, you have to replace //#include "Packages/com.unity.render-pipelines.universal/Shaders/Utils/Fullscreen.hlsl" With the new location where you place the fullscreen shader: #include "Packages/com.luvagames.fullscreenshader/Runtime/Shaders/Fullscreen.hlsl"
@dbhlnn8 ай бұрын
unfortunately there are plenty more errors and even after some extra bugfix spree I couldn't get it to work neatly
@smashr61073 жыл бұрын
Oh my god your quality of videos is amazing, hope this channel receives the attention it deserves. Keep up the good work my man!
@aarthificial3 жыл бұрын
Thanks so much!
@alexanderosinubi51543 жыл бұрын
You are a very special game developer. A kind I haven't seen before. One that implements ideas and creativity perfectly into an art piece. When I found your channel, I watched through every video you made, and enjoyed and learned from all of them. For that, I thank you. Please continue to inspire and teach many others, and don't give up! -Alex
@aarthificial3 жыл бұрын
Thank you so much, it means the world to me!
@Tomatech3 жыл бұрын
It would be cool if patrons got early access to buggy/unfinished versions of upcoming systems, like the save system or the next-gen pixel perfect renderer
@Watzefuk11923 жыл бұрын
ADDING THIS TO MY GAME!! you're a life saver, the current method i was using is much more expensive! thanks!!
@clarisrichter79666 ай бұрын
The fact that you made this free for everyone is just amazing. Thank you!
@AtariKafa3 жыл бұрын
i will try to implement this on my 3D game lets see if i can figure it out 🤗
@rhetorical_3 жыл бұрын
Can't really donate as i don't have the funds but I saw the patreon, congrats on making the channel self sustaining!!
@aarthificial3 жыл бұрын
No worries! Thanks so much!
@sean82623 жыл бұрын
You’re a legend, my friend
@ikizlerlebirgun71193 жыл бұрын
Looking forward to see Astortion!
@ikizlerlebirgun71193 жыл бұрын
@@HaydenTheEeeeeeeeevilEukaryote You caught me 😅
@bilel1143 жыл бұрын
Wow that is very generous of you! Im sure you'll smash your goal in patreon. Great work as always.
@krycerkris3 жыл бұрын
Yoo first time catching an upload early!
@krycerkris3 жыл бұрын
I really love your content! Clean, simple and it really fills me with a sense of wonder to see the projects of others slowly evolving!
@aarthificial3 жыл бұрын
Glad to hear that!
@RugbugRedfern3 жыл бұрын
Very cool! Thanks for sharing
@sonatuh3 жыл бұрын
Can't believe I JUST now found your channel so many great insights
@alexmat10852 жыл бұрын
man, just looking through all your past content, I have to say, your vids have amazing quality and are super cool
@NikkoLeawe7 ай бұрын
it is such an amazing video! Many creative and useful ideas here
@viniciusrosa82153 жыл бұрын
Thx a lot for sharing. Its hard to find people willing to share how they did something of this level of difficulty for free. Great work!
@erikahlundhelguera3 жыл бұрын
Holly you finally made it! Thank you so much for sharing the code! Gotta join the patreon now
@aarondcmedia95853 жыл бұрын
The clouds in the background look professional. Good work.
@chris.davidoff3 жыл бұрын
WHAT! This is incredible, THANK YOU!!!! I can't wait to dig into learning how you this was made. Patreon subbed!
@aarthificial3 жыл бұрын
Thank you too!
@willmanjm3 жыл бұрын
As always, amazing video and ideas! I really enjoy the look and feel of Astortion. Can't wait!
@artinacart80353 жыл бұрын
Awesome work! Your coding heavy stuff really motivates me to get better at coding myself
@DArK-xj8lr3 жыл бұрын
That pixel art looks beautiful
@Ezzataii3 жыл бұрын
This looks fantastic! I'm also curious if you'll ever make a package for your custom renderer because that looks great too.
@aarthificial3 жыл бұрын
Thanks! I'm planning to do so but it will probably take a while
@DolphinDev3 жыл бұрын
The shader and the outcome look super at the end! Awesome stuff
@aarthificial3 жыл бұрын
Thanks!
@MurmelMannen3 жыл бұрын
ANOOTHER VIDEO LESSS GOOOOOOO
@leodesaintsalvy69483 жыл бұрын
You are an absolute legend. This is a godsend
@leonardodenni15623 жыл бұрын
I really know nothing about the behind the scenes of the creation of games (and tbh it's not my cup of tea) but mate let me tell you, you manage to keep me watching the. video..good job
@morepoppunkthanpizza2 ай бұрын
so insightful thank you
@Tober_3 жыл бұрын
When I see a great video like this one, it just makes me happy, but on the other hand, I'm sad because it doesn't get the attention it deserves. Anyway, keep up the great work.
@ibra.h3 жыл бұрын
What about a Patreon-only discord as a perk? kinda like how channels like GMTK do it
@aarthificial3 жыл бұрын
Interesting idea! I'll look into that
@phendan3 жыл бұрын
Was just looking to see if anyone else has commented this already. Definitely seconded!
@cunibon4395 Жыл бұрын
I love this man
@rakshasharma66563 жыл бұрын
You should check out a game Machinarium, and make a dystopian world like that, it looks amazing.
@nodenamea47983 жыл бұрын
Keep up the best work on the platform!
@commonhousehuman2 жыл бұрын
Nice video, will continue watching
@literallyretarded22863 жыл бұрын
I love you content man, thanks for sharing this ❤️
@MrJouwi Жыл бұрын
thank you, i would never be able to do this on my own🤗
@ruzco48733 жыл бұрын
You're incredible, love your work!
@aarthificial3 жыл бұрын
Thank you!
@loekTheDreamer3 жыл бұрын
you are a rock star! thanks for the share.
@Nati_i03 жыл бұрын
You made my life easier, Thanks!
@svendpai3 жыл бұрын
stunning content as always!
@VuVuuInc3 жыл бұрын
lit, ima have to yoink that, also that whole running the channel at a loss is a familiar feeling. :(
@Louis-fh4sh3 жыл бұрын
"Nothing special here", he says, as the *best running animation ever* plays on camera Thanks for sharing the code :D
@piousthepious3 жыл бұрын
Bro lmfao you’re absolutely amazing
@alpagogoktenay98273 жыл бұрын
KZbin algorithm is the best, very cool person and channel. How long you have been coding can i ask? I have mad respect to your skills. I will be looking forward to your future content.
@aarthificial3 жыл бұрын
Thanks so much! It would be around 7 years now, 3 years professionally, not in Unity though. My experience with Unity started when I started this channel (~1 year)
@TylerGreen3 жыл бұрын
This was very cool
@Willendes3 жыл бұрын
You're amazing friend. Greetings from Brazil
@张涛-k2r Жыл бұрын
if your guys found it don`t work ,can try change object named "Velocity Emitter" porperties "Mode" be come "Translation" but not rigidBody2D and i still dont know why , but after i changed the type of "Mode" it become useful : )
@yukunxia23122 жыл бұрын
You are my hero!
@Orygon80782 жыл бұрын
This video helped me so much
@blueyay3 жыл бұрын
Well I can't afford to support you on patreon, yet. But I definitely can leave a comment for the algorithm uwu
@cigslit2 ай бұрын
I will see if this works in a top down movement game and the effect looks nice
@revo46133 жыл бұрын
So amazing!!!
@wrenapplecider98003 жыл бұрын
yess goodluck!!
@aarthificial3 жыл бұрын
Thanks!
@ZiplawDev3 жыл бұрын
you're brilliant
@simoneparisi_3 жыл бұрын
You are so inspiring
@omegaomega6838 Жыл бұрын
It seems that my problem wasn't actually the camera moving, but for some reason the shader that gives the velocity seems to be making everything yellow. I got you demo and tried it out. On your demo it doesn't seem to me that when I put the debug shader on that everything is yellow except the emitter. Is there any solution to this. I can't figure out the difference. What is causing my shader to be all yellow except for the emitter.
@mathismeilby2 жыл бұрын
Thank you for sharing! It's greatly appreciated.
@NishanGhoshgameshamelame3 жыл бұрын
Bro you made it! No words can define you - an out of bounds index. So this Velocity Emitter could be applied to multiple objects for multiple object interaction?
@aarthificial3 жыл бұрын
Thanks! Yes, you can have multiple emitters
@Dondela_a3 жыл бұрын
I don't completely understand, but the effect is very beautiful!
@TheStigChristensen Жыл бұрын
Thank you for sharing, much appreciated! I think there''s an issue with the pixelart_shader, I can not get it working smoothly with 8 ppi and no upscaling. If I try it in your demo scene, I get the same error, the bush get's distorted like crazy.
@dmon93336 ай бұрын
did u manage to get it working?
@omegaomega6838 Жыл бұрын
I've been trying figure out why the package just didn't seem to work for me and then I used the velocity debugger and realized that everything was messed up because the velocity doesn't really show correctly when the camera moves with the player. Is there anyway to make this work while the camera is moving with the player?
@iondarii76213 жыл бұрын
Thank you, very nice. I found that it doesn't sway if the camera is in perspective mode and follows the player, and works if static. When camera is orthographic all is good. Do you know why that happens? Thank you!
@jumi60513 жыл бұрын
Wow... the shader looks amazing! If u don't mind me asking, how long have u been doing programming?
@aarthificial3 жыл бұрын
Thanks! ~7 years in total, one year in unity/c#
@jumi60513 жыл бұрын
@@aarthificial Awesome. Which language were u using before that?
@aarthificial3 жыл бұрын
I played around with C#, C++ and Java for a few years, then I settled on TypeScript which I do for a living to this day
@uhhmir3 жыл бұрын
How did you know what's the correct pixel size to make it pixel-perfect?
@aarthificial3 жыл бұрын
There's a "Pixels Per Unit" setting: github.com/aarthificial/pixelgraphics/blob/master/Documentation~/velocity.md#pixels-per-unit
@uhhmir3 жыл бұрын
@@aarthificial thanks! the shader looks so good
@sinus47843 жыл бұрын
this is really cool i wanna try to port this to godot but i'm not great at shaders or untiy
@aaalbeert3 жыл бұрын
Sick 👌
@wiiasd36823 жыл бұрын
I am definitely going to pay for a set of tutorials on how to make this shader lol
@BlueGooGames3 жыл бұрын
This is briliant! Does it support also URP? Would look awesome in our game, thanks so much for sharing everything!
@aarthificial3 жыл бұрын
Thanks! Yes, it should support any scriptable pipeline, including URP. The demo, for instance, uses URP with a 2D Renderer
@shawnlou32103 жыл бұрын
Awesome
@ficworldtfz3 ай бұрын
my texture turned black after I added a shader, what should I do?
@zaraiba Жыл бұрын
Hey, I tried to download this Shaders, but every time I put the Material in Sprite Renderer, it leaves the object purple and does not work, how can I solve this?
@psyantologist3 жыл бұрын
Wonderful work =] I'm trying to follow along yet I'm confused by the demo project - it throws aplenty warnings about missing audio and all sprite PNGs are invalid files, 128 bytes in size, smaller than their meta information
@aarthificial3 жыл бұрын
Thanks! To quote the README file: "This repo uses Git Large File Storage to store image assets. If you want to clone the repo, make sure that you have lfs installed on your machine. Otherwise the sprites may be missing." You would need to clone the repo using git with lfs: git-lfs.github.com/
@prodjectz18663 жыл бұрын
@@aarthificial thanks:3
@piousthepious3 жыл бұрын
Just found out about this now
@BlacksmithYT2 жыл бұрын
Hey I replied to one of the comments in here, but I do not know if it shows up for you or not. This is absolutely amazing, it works wonders, but I have one thing I can not fix: The bottom of my grass sprites are also swaying. I know that a _DisplacementMask is needed, but it is not showing up for me in the secondary texture editor. Why is that? Is there a way to fix it? Thank you in advance, and keep rocking the awesome videos! Update: nevermind, I am just very new to Unity, I did not know that I just had to write _DisplacementMask in the name field. I got it. Works like a charm.
@forestgamez7824 Жыл бұрын
I've tried importing using git link, but it always fails, is there any other way to import it into my project?
@TheWesleykid2 жыл бұрын
Hi! I tried to add it to my project, but it seems like it does not work with Cinemachine VCams. I added a velocity camera component to the Main Camera, which also has a cinemachine brain, it kinda works, but the buffer is behaving weirdly (sway for first few grass GO, but doesn't for others). I tried it with the cinemachine brain off and it works flawlessly. Nevertheless, this is a really awesome shader package!
@alrightmarty3 ай бұрын
I get no errors, but my sprite disappears when I add the pixelart variant of the grass or foliage shader. The normal version works fine though Edit: I went into the documentation, seeing if there was a special way that my sprites needed to be setup, and it looks like there kinda is, but it didn't change anything.
@keratinor2 жыл бұрын
Hello I have a question. I don't know if it's me but it looks like your grass deosn't move at the base. But when I try this on a random foliage, all the sprite wave. Is there a way to keep the base steadi with your shader? Great job, i've been looking for this kind of video for a while!!!
@aarthificial2 жыл бұрын
It's done using a displacement mask: github.com/aarthificial/pixelgraphics/blob/master/Documentation~/shaders.md#displacement-mask In this case it's a gradient - from black at the base to white at the top: github.com/aarthificial/pixelgraphics-demo/blob/master/Assets/Terrain/Sprites/plants_displacement.png
@keratinor2 жыл бұрын
@@aarthificial Thank you !!!! That was a fast answer ^^
@BlacksmithYT2 жыл бұрын
@@aarthificial Hey this is the problem I'm having right now. I do not have _DisplacementMask popping up at the secondary textures. How do I get it to be an option? Thanks!
@omegaomega68382 жыл бұрын
I'm not able to add this as a package so sad
@omegaomega6838 Жыл бұрын
btw I managed to fix this
@borjadetorres77472 жыл бұрын
I love your channel man, consider me patronized(?) patronable(?)….that
@omegaomega6838 Жыл бұрын
Is there anyway to make this work in a perspective projection. I've managed to make it all work, I just can seem to make the camera move with the player and show the velocity correctly because it's in a 3D space. if anyone has an answer to this feel free to share your thoughts. I don't even know where to begin to calculate the math for this.
@joshuabidwell26142 жыл бұрын
I would pay for this package if you could do a perspective version. Also, even with an ortho camera I can't get the renderer feature to work with 2021.2 URP. The camera works in ortho and persp but obviously has very strange movement in persp
@Chief-wx1fj2 жыл бұрын
I would pay for a perspective version too. Please make this possible
@S41L0R3 жыл бұрын
How did I miss this?
@BinaryLunar3 жыл бұрын
Hello, can we do a tutorial about creating your shader by analyzing it and explaining how things are done, we will credit your channel of course?
@aarthificial3 жыл бұрын
Sure thing
@tommckenzie3 жыл бұрын
Awesome! Is there any chance you might do something similar with your fog shader?
@aarthificial3 жыл бұрын
Thanks! That's the plan. It's called "PixelGraphics" cuz I'll be adding more pixel art shaders to it over time. Like the fog, or the line shader
@prodjectz18663 жыл бұрын
i really want to try using this but i cant import the files without having an error
@aarthificial3 жыл бұрын
What version are you using? I tested it on 2020.1 and above
@prodjectz18663 жыл бұрын
@@aarthificial thanks for replying =), i think i figured it out while reading ur comment section
@thanhlongtran91632 жыл бұрын
Just a quick question: I'm making a fullscreen shader effect using renderer features for the forward renderer data. But I'm also using the 2D renderer data for 2D lights and stuff. I see that you also have the same problem and solve it by using the VelocityCamera. Can you explain to me your solution?
@balazsvince12423 жыл бұрын
I wish I could support u but as I dont have my own income I cant Cuz u make great videos:DD
@aarthificial3 жыл бұрын
No worries, thanks so much!
@goldfish07092 жыл бұрын
So I fixed the black grass problem. Now I have to figure out how to make the body and branches of a tree stay completely still while the foliage move. I paint the body and branch black but it still moving, did I do something wrong?
@maykefernandesdossantos7374 Жыл бұрын
Dude you should teach computer science classes!!
@lordzockt18533 жыл бұрын
:o A NEW VID WUT
@shadowofcat Жыл бұрын
i've installed the package in my unity project and it seems to work fine with a static camera but it stops working when the camera is moving it jitters and moves when the player is not near the object. i hope i can find a solution for this. anyways thanks for the cool package and i will playtest this for potential fixes.
@glimpsygames2734 Жыл бұрын
the project doesn't work, only the package works and i don't know how to set up things, i tried to use the grass_shader and the movement is like the whole sprtite is moving around as you increase wind strength
@glimpsygames2734 Жыл бұрын
I fixed, it by multiplying the velocity strength by UV.g or UV.y and sending the result, the same for wind strength, but i came to the second problem and that is while the emitter is moving or after it moved, the grass that's out of emitter radius moves too slow to the default wind strength (only the grass within the emiiter radius interacts well)
@Chief-wx1fj2 жыл бұрын
Is it possible to make this work with the Perspective Camera? only seems to work with the Ortographic for now
@HeavyMix3 Жыл бұрын
Is there a way to make this work using the Built In render pipeline ?
@wilykary2 жыл бұрын
Just wondering, what code editor and theme + font are you using?
@viniciusrosa82153 жыл бұрын
Hey, is there any means to send you a bug report with screenshoots and info on what it might be? I found a small problem when testing it, And it would be easier to send you somewhere specific then trying to type it in a comment. And once again, thx for sharing this amazing shader.
@aarthificial3 жыл бұрын
Hi! It would be best if you could create an issue on github: github.com/aarthificial/pixelgraphics/issues