Interactive Foliage Shaders for Unity

preview_player
Показать описание
Check out the package:

Play the demo:
Source code:

Consider supporting the channel on Patreon 🖤

Timestamps:
0:00 Intro
0:38 Package overview
2:06 Customization
3:00 Trade offer
Рекомендации по теме
Комментарии
Автор

You can now support this channel on Patreon!
You don't have to tho. I'll love you anyway 🖤

aarthificial
Автор

>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

vikara
Автор

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 renderer, ref RenderingData renderingData)
{
//COMMENT THIS LINE OF CODE
_pass.Setup(settings, simulation);
renderer.EnqueuePass(_pass);
}

//ADD THIS OVERRIDE FUNCTION
public override void renderer, in RenderingData renderingData)
{
//ADD THIS LINE OF CODE
}

The second error is:

Couldn't open include file

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

With the new location where you place the fullscreen shader:

#include

rubpty
Автор

Oh my god your quality of videos is amazing, hope this channel receives the attention it deserves. Keep up the good work my man!

smashr
Автор

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

alexanderosinubi
Автор

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

Tomatech
Автор

ADDING THIS TO MY GAME!! you're a life saver, the current method i was using is much more expensive! thanks!!

Watzefuk
Автор

i will try to implement this on my 3D game
lets see if i can figure it out 🤗

AtariKafa
Автор

The fact that you made this free for everyone is just amazing. Thank you!

clarisrichter
Автор

Can't really donate as i don't have the funds but I saw the patreon, congrats on making the channel self sustaining!!

rhetorical_
Автор

Wow that is very generous of you!
Im sure you'll smash your goal in patreon. Great work as always.

bilel
Автор

Yoo first time catching an upload early!

krycerkris
Автор

man, just looking through all your past content, I have to say, your vids have amazing quality and are super cool

alexmat
Автор

it is such an amazing video! Many creative and useful ideas here

NikkoLeawe
Автор

Can't believe I JUST now found your channel so many great insights

sonatuh
Автор

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!

viniciusrosa
Автор

The clouds in the background look professional. Good work.

aarondcmedia
Автор

Holly you finally made it! Thank you so much for sharing the code! Gotta join the patreon now <3

erikahlundhelguera
Автор

This looks fantastic! I'm also curious if you'll ever make a package for your custom renderer because that looks great too.

Ezzataii
Автор

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.

Tober_