Since people are asking about multiple interactors, I will make a post on how to do that tomorrow and link it here :) It's pretty easy, just send an array of positions instead of one, but will have script links ready tomorrow.
@batman850572 жыл бұрын
You don't have to limit the grass to 50000, The 65,534 vert limit for meshes can be increased to 4,294,967,296 by changing the mesh indexFormat to UInt32.
@MinionsArt2 жыл бұрын
@@batman85057 Ah, cool! I did not know that, should help people making bigger maps :)
@TheYuira2 жыл бұрын
Thanks, You're a breathtaking!
@hrafnkellorrirastarson75442 жыл бұрын
OMG THANKS!
@hamburger64342 жыл бұрын
hi how do i fix this error : IndexOutOfRangeException: Invalid kernelIndex (0) passed, must be non-negative less than 1.
@bigidiot58812 жыл бұрын
This is a really incredible tool. I was between such a rock and a hard place trying to get grass into my VR game without it looking terrible or tanking performance. This has been a godsend. Thank you!
@ape12052 жыл бұрын
When I put it in VR the grass doesnt render in my peripheral. Did you encounter any problems similar to this and if so, how did you fix?
@gijsbert112 жыл бұрын
The fact that you were able to even make this is amazing, and it being so user friendly is on a whole other level. Simply mazing work.
@Riffrefferer2 жыл бұрын
If you cant find the interactor list at 13:26 , go into the "GrassCompute" script and look around line 57, there will be a private array called "ShaderInteractor[] interactors;",add "public " in front of it. Worked for me
@blurblur36422 жыл бұрын
Thank you! It worked for me, too. But it seems like the interactable collider has already add into the "ShaderInteractor[]" automatically. Maybe that's why the array was set private rather than public.
@Kmoonleaf2 жыл бұрын
Thank you for the awesome free tool 🙏 A couple points where I got stuck, for anyone who might find it helpful: 1: In order to get the terrain blending to work, I had to check and uncheck the render terrain map script after updating the material. 2: if you're going to use a custom mesh (anything other than the default unity primitives), you need to add a mesh renderer to your object, or else the brush tool won't work. 3: Unity terrain works with this, but for some reason, terrain blending does not. It won't allow me to drag the terrain into the renderer. Not a big deal for me because I just sculpted a terrain in a modeling program and imported it, but might be frustrating if you really wanted to use both unity terrain and terrain blending.
@toms63852 жыл бұрын
I cant seem to be able to change the mesh did you find how ?
@kombosabinho Жыл бұрын
I'm BLOWN away just how good this video is. You get a new subscriber 🎉
@MrSkyerHawkins2 жыл бұрын
I absolutely loved this grass! I switched my project over to HDRP and had to quit using it since I couldn’t get it to work with it. I haven’t found any good replacement for it either that works. I’m sad every time I see you post an update to it on Patreon knowing that I wouldn’t be able to use the worlds best stylized grass and painter that some how keeps getting better and better! Keep up the great work!
@yiweiliao6533 ай бұрын
Thanks so much for such a GREAT tutorial. Very helpful for my way of finding the best practice
@veronika6879 Жыл бұрын
I gasped when you started showing it reacting to light!! Looks i n c r e d i b l e
@ludiclogic2 жыл бұрын
It looks awesome!
@Leonardorth.2 жыл бұрын
Awesome work ! I’ve been loving the original grass tool and it’s great to see an update.
@rambii.2 жыл бұрын
Finally. There was one issue I had with the older grass was the color would become very bright or very dark depending on the direction of the directional light. so when you have day and night cycle, it didn’t look good. And you said this is changed from geometry to compute? I’m gonna get it
@MinionsArt2 жыл бұрын
Yeah the lighting stuff should be fixed, but you never know what might change between versions, if there's still issues, I'll hear about it !
@Tofos942 жыл бұрын
Wow this looks so good. Thanks for your effort and hard work to make this video and that tool. ❤
@MadpolygonDEV Жыл бұрын
honestly your channel is so great!
@leothebaddesigner3727 Жыл бұрын
this is amazing thank you , i am a beginner and looking for a way to make some grass without getting to learn the entire game industry, thank you
@cactus34672 жыл бұрын
This is amazing! Absolutely awesome work
@KDSBestGameDev Жыл бұрын
This is beyond impressive!
@PauloHSousa237 Жыл бұрын
This tool is awesome! well done
@question_mark2 жыл бұрын
lezgooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo it looks so good, thank u so much
@orkmaedchen2 жыл бұрын
Thats pure beauty.
@toms63852 жыл бұрын
Hi ! I was wondering if it was possible to use a custom mesh for the grass instead of the one generated by the script ? This would allow to blend certains elements with the ground and would be really cool
@claironaut2 жыл бұрын
Thank you so much! I absolutely adore this tool
@SpartanGameDev54342 жыл бұрын
Amazing tool! Is there anyway to generate it across my entire terrain without manually painting it? Thanks this tool has saved me so much time.
@niuage2 жыл бұрын
@MinionsArt hey, thanks for sharing that for free, it's amazing. Quick question, is there a way to save the mesh as a prefab? I tried saving the mesh with a script separately and then adding it to a mesh renderer, but it didnt work. It seemed like all i got was individual vertices or something like that, no blades. Thanks!
@tarutso2 жыл бұрын
Same question here. TY in advance! >_
@manuelursino41352 жыл бұрын
You are amazing. Thank you so much for sharing.
@nanchao4170 Жыл бұрын
I haven't finished it. but thanks genius!
@Niter882 жыл бұрын
That's actually very cool. I might use ir for things other than grass
@ИмяФамилия-у9щ2п2 жыл бұрын
Thank u all is working!
@26xBenny Жыл бұрын
AMAZING THANK YOU SO MUCH
@matteoburzi90162 жыл бұрын
even if I deactivate and reactivate the script I do not see the grass
@yaarrghmematey2 жыл бұрын
Noice work mate!
@fredimachadonet2 жыл бұрын
Awesome! Thank you very much for your content!
@drinkwatrr98832 жыл бұрын
Wow this is amazing thank you so much!!!
@MisterChiccoOfficial2 жыл бұрын
This is awesome!
@planebreach2 жыл бұрын
This is amazing, just one issue. How can i make this work with terrain, because i am unable to add it at 12:23 like you are doing with a plane?
@plasmaint2 жыл бұрын
If you haven't figured it out yet, simply change the type from Renderer[] to Terrain[] and edit the foreach statement at the GetBounds() function from this: foreach (Renderer renderer in renderers) { bounds.Encapsulate(renderer.bounds); } to this: foreach (Terrain renderer in renderers) { bounds.Encapsulate(renderer.terrainData.bounds); }
@planebreach2 жыл бұрын
@@plasmaint thank you
@planebreach2 жыл бұрын
@@plasmaint ok, a quick question "change the type from Renderer[] to Terrain[] " Do you mean the line under [SerializeField] in the RenderTerrainMap.cs ? Sorry, i am not a programmer.
@plasmaint2 жыл бұрын
@@planebreach Yes, I meant that one.
@planebreach2 жыл бұрын
@@plasmaint ty
@richardhao79542 жыл бұрын
Thanks for making this 😁
@JaumeBitterhoff2 жыл бұрын
I cannot manage to get the material auto assigned after the grass compute script activation/deactivation step, and i was thinking that maybe there is some previous step not shown on video that's missing. Is there any package that should be installed for this tutorial to work?
@yellyvi2 жыл бұрын
I cannot explain how much I love this ♥ after weeks of testing different kinds of grass, this is by far the best!! I have one small question though: is there a way to decrease the radius of interaction with the grass? The grass bends too widely around my character atm, making it seem the character collision is much bigger even though it's not 🤔
@DaveJackson Жыл бұрын
amazing, thank you so much
@DaveJackson Жыл бұрын
dear Minions - does this only work on Terrain or is there a way to get it to work on a mesh?
@justusmarks79192 жыл бұрын
Thanks for ur nice work. So helpful 🙂
@telur_xs2 жыл бұрын
It's amazing!
@DanielRiaz2 жыл бұрын
Anyone else having issues with the grass appearing? I see the grass count increase, but I don't see the grass actually render (even when I toggle on and off the GrassComputeScript component). I think the problem is it's not finding the source mesh. I see the checkered mesh icon appear in source the mesh field, but it's not lit. It's faded which makes me wonder whether there is something wrong. I am using BIRP and Unity 2021.2.9f1.
@tiagoalmeida71032 жыл бұрын
Change Material Render Queue for Transparent😀
@luanabianco58272 жыл бұрын
@Telmiyo right click on GrassComputeHLSL and create a material, in this material that you just created you will find this option
@dougie119 Жыл бұрын
I had the same issue. My issue was with the shader. I deleted it and then made a new unlit shader and named is " GrassForCompute" and then I pasted the grassShaderHLSL code inside. Then I right clicked and created a material from that and it worked. if your material default name isn't Custom_Grass Compute HLSL then you did something wrong
@JARI2 жыл бұрын
Can we use this commercially and if yes how should we credit you?
@Ball_Zach2 жыл бұрын
The interactor tab in the grass compute script won't show :( Can anyone help?
@otohime85162 жыл бұрын
Thank you so much!
@slyzrl13612 жыл бұрын
Dang that is really good thank you! Just one question : is there any way to make it work for in a procedural way, without having to paint by hand ?
@huynguyenphan41202 жыл бұрын
How can I stored painted mesh into prefab?
@AbachiriProduction Жыл бұрын
bro you are legend F
@__Rizzler__ Жыл бұрын
thank you
@twinjuke Жыл бұрын
Could you make such a grass shader that sits on top of triplanar mapping in HDRP? I'd be really interested. Nice tool btw! ❤
@kathleenbohren39532 жыл бұрын
Looks amazing but it doesn't work for me :,( Everything is set up and I can see the number of grass raising but it just doesn't show up even though it found the mesh when I turn on and off the grass computer script. Do you know where it could come from?
@poctordepper42692 жыл бұрын
Was having this issue, turns out I didn't have my URP all set up. Without that, the shaders won't be able to render, so make sure you set up your render pipeline!
@loganjones55372 жыл бұрын
I had the same issue even though i updated everything to urp. I tried the BIRP shader in his Patreon and that worked for me. After switching it out do the same thing. Create a material of the shader, plug it in and disable and enable the compute script (like he showed in the video). Hope this helps!
@alpha38362 жыл бұрын
Is there a way that I can use a custom grass mesh/texture?
@hrafnkellorrirastarson75442 жыл бұрын
Nice! thanks for the update! :) Do you have any idea how we could get multiple interactions working?
@cameronwarner1630 Жыл бұрын
When using the tool, im able to paint grass and everything, however when i click the play button or build and run the game, the grass dissapears. Is there a simple fix for this im not seeing?
@icxrusluv2 жыл бұрын
Please make an HDRP option! Would love to use this tool, it looks much more performant than the Terrain system!
@Luka-hv7wp2 жыл бұрын
When I play my game it only renders the grass close to the editor view camera, but not the grass close to my player Do you know how I can fix this?
@sanzaxx2 жыл бұрын
I love the tool, but i cant make it work in prefabs. Is there any solution for that?
@tibastudio42232 жыл бұрын
Hi !! You're pack is amazing thanks for it it's saves me a lot of time ! I just want to know if it's free for commercial usees like if i want to make a non free game with it ?
@armutcocuk7783 Жыл бұрын
Hi, I tried using URP, and it's working great, but I want to adjust the grass lights according to the ambient light level. How can I achieve this?
@possqueenvivvie2 жыл бұрын
Will this grass shader/painter work on imported meshes, or only terrains?
@Aaron-pb2bf2 жыл бұрын
I am having an issue with finding the grass as it shows that it is placed, but I cant see the grass
@gregoriocarreno2 жыл бұрын
Can someone help me, I'm a newbie in Unity, I tried to do this tutorial but I can't figure out how to activate the brush to generate the grass.
@xiaoma99302 жыл бұрын
It looks awesome! But how to add more interactors for this version, and I find interactors only can find objects from the hierarchy, not prefabs, so if I wanna spawn my object from prefab, it won't trigger interactors. I am looking for a way to fix it.
@MisterChiccoOfficial2 жыл бұрын
Is there a way to get some kind of glossiness/smoothness on the grass?
@zaurs02 жыл бұрын
Hi minion, this is very powerfull stuff, thank you for sharing your knowledge with the community. Just one question, i want to put the grass to a random position in a procedural world. Probably mix the Procedural Object placement algorithm from sebatian lague with your grass. How can i get the Grass to put it in? Thank you anyways
@tszchingchiang8742 жыл бұрын
For me, I cannot find the Interactor session at 13:27. There are only Affect Radius and Affect Strength in the wind session which is actually controlling the values of the interactor (Interactor and Offset are missing btw). Then I realized the capsule is automatically assigned to this script when I add the shader interactor script. With this method, I can add the Shader interactor script to multiple objects and they will all be able to interact with the grass. Thanks for the scripts anyways!
@Zxgnjason2 жыл бұрын
Hello! This is such a great tool, I'm currently using this for my 3D Ghibli Inspired project, and it looks so good! However I noticed that the WebGL build unloads the grass whenever I try making a build. Do you know any way I can fix this? Thanks so much!
@TC-xk5rm2 жыл бұрын
Pretty sure webgl can’t access compute shakers so it’s not compatible
@SlopFace Жыл бұрын
Hey i dont know if someone had the same problem as me but the fade (LOD) dont want to work it desapears and only work in the editor mode
@harindulk2 жыл бұрын
❤️
@MAXNS Жыл бұрын
I have joined Patreon, but what is the actual order of the tutorials? It's a mess to follow so many links. :/
@ronny41762 жыл бұрын
i tried using this for my procedural world, but apparently it is not built for that. i keep getting frame drops despite having chunks. the older version was better for me ig. getting the grass spawned via script was also a ton of a struggle for me, since i do not know anything about compute shaders.
@ElMoy Жыл бұрын
Can you share how you did to spawn grass? I am struggling with this, for your problem, just get the part 1 of minions art grass shader and add the material of the shader into every chunk you create, the disadvantage of that is that you cant spawn more grass (at least not as far as i checked), it went pretty well for my chunks version, but now i am implementing an island version and i cant figure out how to spawn it, and as i said, i cant figure out how to spawn more grass
@NovaTaleART4 ай бұрын
Do you happen to have any plans to convert this tool to Godot, by any chance? As well as the Water and Snow Interactions? This looks absolutely stunning!! Keep up the amazing work!!
@alexoffice55502 жыл бұрын
Interactor setting on 13:26 is definitely missing when used on newer versions Unity. Even when I put "public" in front of interactor on line 57 of computescript, it is still missing "Offset, Affect Radius and Affect Strength". Appreciate it if someone can give me a solution.
@MrWhoever2 жыл бұрын
If nothing shows up for you and it feels like it's not working - you need to RIGHT CLICK on the plane in the scene view
@MrProtogan2 жыл бұрын
Bro you are my hero, you make someone happy thank you !!
@Obliviander2 жыл бұрын
Did you change the interactor script from the last tutorial? Looked smoother this time, or it could be that a sphere makes it look smoother than my characters feet. Thanks for the tutorial ☺️
@seve81382 жыл бұрын
Hi! Amazing channel with very professional results! I was wondering what is your Triplanar shader. Looks dope and can't wrap my head about creating this myself. I subscribed in one millisecond.
@pauldevred1393 Жыл бұрын
Hi MinionsArt, is there any way to make it work for in a procedural way, without having to paint by hand ?
@nisos56202 жыл бұрын
When I try to import the script in the game object, the script doesn't appear in the "add component" window... when i drag and drop the script in the GO, my unity crash instantly... Do you know what the problem is ? Thank you and sorry for my bad english ! XD
@Kmoonleaf2 жыл бұрын
I had this problem as well, the solution for me was making sure that I titled the script exactly the same way as it appears in the pastebin title. If you mistype it or change the name, it will not work.
@nisos56202 жыл бұрын
@@Kmoonleafthank you so much for your answer i will try this asap and i hope it will work :')
@LoganDJS2 жыл бұрын
I see on the example of your scene that you can enable the gpu instancing but there is no the option in the script that you give in github, is it auto gpu instancing ? I don't think so because i have a heavy loss of fps
@5th_Vertex2 жыл бұрын
Thanks, New sub here!
@CymruCreator2 жыл бұрын
Thanks for this, I'v managed to get it all setup and it's mostly great, but for some reason the top tint isn't being applied in blend mode. Any idea what I can look into? I have found the part where it's supposed to multiply with topTint, but it doesn't seem to be doing anything.
@Meow-or-Never Жыл бұрын
Hi there, could you please tell me, how could I use this tool in a commercial project? Would I need to purchase it, and if so , can it work with 2021.1.7F URP ? My game could really use interactive grass, and Unity's terrain grass is just not cutting it.
@varadwankhade2039 Жыл бұрын
when i'm trying this out in a seperate demo scene it's working just fine but when i go to my main scene (which is a floating island i modelled in blender) the painter brush doesn't work... like the green brush or any of the brushes don't work or even show... help me out please... i have a deadline real close...
@Zolt_Bolt2 жыл бұрын
Hi MinionsArt can you make a tutorial on the thing that is following you the sphere one
@MinionsArt2 жыл бұрын
It's just setting the velocity of the follower to move to an empty gameobject that's a child of the character with a little offset :) rb.velocity = Vector3.ClampMagnitude((targetposition - transform.position), maxmovespeed);
@influency4075 Жыл бұрын
Hello, I would like to have some help to integrate this with the "Curved World" Shader on the unity asset store. Thank you!
@stevphiericardo27902 жыл бұрын
To those that can't get the blending part with the terrain, most probably it's due to InstancedTerrain. Unity's Instancedterrain does not support custom passes
@geronimoangiolillo6769 Жыл бұрын
So how you do fix this?
@dcry10032 жыл бұрын
can i ask why does the grass color change from white after decreasing the enviroment lighting's intense multiplier to 0?
@remi.scarlet. Жыл бұрын
For some reason I paint and no grass blades appear BUT when activating the shadows I can clearly see that the meshes are there. Using URP 2021.3.18f1 and set up everything as shown in the video multiple times.
@MinionsArt Жыл бұрын
There's a setting called depth priming in the URP settings that turned to auto by default, turn that off and the grass returns.
@remi.scarlet. Жыл бұрын
@@MinionsArt Thx worked!
@remi.scarlet. Жыл бұрын
@@MinionsArt Do you think it is possible to implement light cookie support? I only know how your shader works on the surface but not to the extent that I could evaluate if it is feasible.
@crshsori75792 жыл бұрын
HOLY SHIT
@jtherussian2 жыл бұрын
Got it to work but the grass is always transparent and all I can see is some slight shadows from the grass mesh.
@poctordepper42692 жыл бұрын
Did you figure this out yet?
@jtherussian2 жыл бұрын
@@poctordepper4269 I surrendered ages ago because it's beyond my lvl of comprehension
@loganjones55372 жыл бұрын
I had the same issue even though i updated everything to urp. I tried the BIRP shader in his Patreon and that worked for me. After switching it out do the same thing. Create a material of the shader, plug it in and disable and enable the compute script (like he showed in the video). Hope this helps!
@AurrenTV2 жыл бұрын
I had the same problem yesterday, you guys need to make sure you have a universal render pipeline asset and all that stuff assigned in your project settings (look under quality)
@planebreach2 жыл бұрын
I it possible to implement a feature that the grass do not always points up, but takes the surface angle into account ?
@TheYuira2 жыл бұрын
Is it possible to add multiple interactivity support? For the case of multiple heroes?
@flurinjenal3742 жыл бұрын
Looks nice, where can I buy it?
@CymruCreator2 жыл бұрын
I'm also finding that the grass is too large and when I reduce the value on the slider, it doesn't seem to work very well. could it be conflicting with code from the previous version?
@thelittlemob2 жыл бұрын
Wow
@sarkariadmi40582 жыл бұрын
After project build the color of grass become strange. . Please how to fix that?
@artemis83682 жыл бұрын
Is there a way to optimize it for big areas? Cause it looks very pretty but gets quite laggy quickly
@phyzix1012 жыл бұрын
I gave this a try, but no matter how I changed the brush, tip and base colours the grass always looked pretty grey and unsaturated. I was going for a more realistic colour. Is there a way to make the colours more saturated?
@IWasAlison2 жыл бұрын
Hi, Its amazing but can i use it on mobile platform with no lag?
@MinionsArt2 жыл бұрын
I don' think it's gonna run well on mobile, but I never do anything on mobile so I'm not sure. But most likely too heavy.
@TheYuira2 жыл бұрын
@@MinionsArt I tested the solution on google pixel 4a. I can say that there will be no problems on middle + and high end devices. The main thing is to be reasonable in the number of processed vertices on the stage. In addition, I would like to say that as a big optimization, which would be very desirable. GPU Frustrum Culling will be able to significantly increase performance and expand the range of use on mobile devices. It would be cool if you could consider this optimization (GPU Frustrum Culling).
@loganjones55372 жыл бұрын
My custom grass shader material is pink. I updated all the textures to URP but although the green selection tool and grass count increase, theres no grass. Could someone help?
@loganjones55372 жыл бұрын
I fixed it. For anyone else with this isssue even though you're using urp try using the BIRP shader instead. This worked for me