Adding This One Thing Made my Game Look 327% Better

  Рет қаралды 81,180

OverPhil Dev

OverPhil Dev

Жыл бұрын

My game has been in need of a major face lift for awhile now, and it's finally time. It's amazing just how much better the game looks after only adding grass and a skybox.
Discord - / discord
Instagram - / overphildev
#unity #gamedev #devlog #indiegame

Пікірлер: 501
@mastrio5772
@mastrio5772 Жыл бұрын
An easy way to optimize the grass more is to disable them from casting shadows. They can still recieve shadows from other objects but won't cats any themselves.
@overphildev
@overphildev Жыл бұрын
I'll try it out
@minireceka2091
@minireceka2091 Жыл бұрын
Thats true
@minireceka2091
@minireceka2091 Жыл бұрын
Why aren't you uploading a video.For me it jas benn A WHOLE MONTH
@PennyEvolus
@PennyEvolus 7 ай бұрын
​@@overphildevand frustum culling is amazing too
@addmix
@addmix 6 ай бұрын
At the cost of great graphical quality reduction. If you can, supplant the grass shadows with screen-space shadows.
@seekpodcast
@seekpodcast Жыл бұрын
Tip: have the grass models be only two triangles. One upside down and one right side up on top of it. This will allow you to speed up the game tremendously without sacrificing too much. The grass in Breath of the Wild is actually only two triangles as well.
@overphildev
@overphildev Жыл бұрын
That's very interesting I'll have to try it
@remus-alexandrusimion3439
@remus-alexandrusimion3439 Жыл бұрын
do you mean like a rhombus?
@seekpodcast
@seekpodcast Жыл бұрын
@@remus-alexandrusimion3439 Yes, but have the bottom triangle be much smaller than the top one
@Chris-jo1zr
@Chris-jo1zr Жыл бұрын
@@seekpodcast Or just one triagle! 2 grasses for the price of 1!
@seekpodcast
@seekpodcast Жыл бұрын
@@Chris-jo1zr 1 triangle looks a bit off. I’ve tried it myself. I think you definitely need at least 2.
@SirHorned19
@SirHorned19 Жыл бұрын
I like the tree shaking a lot more than the camera doing so. Maybe just add the screen shake on the last hit, when the tree explodes (Or when it hits the ground in the future perhaps). I think the problem with the tree shake right now is how the base of the trunk is moving, when really that part should be static. I think you should use the camera shake when getting hit by enemies instead, maybe add a red vignette or a blue one since you play as a robot (electricity/sparks).
@overphildev
@overphildev Жыл бұрын
I'll keep that I mind
@N1ghtR1der666
@N1ghtR1der666 Жыл бұрын
@@overphildev in the same way a grass shader will morph the grass mesh more at the top that the bottom you could apply the tree shake more at the top than the bottom
@alexevaldez
@alexevaldez Жыл бұрын
Good video! A good next steps for your optimizations are: Textured cutouts rather than full poly grass. Occulusion drawing (rather than drawing everything from a circle. Do it like the line of sight) Lod grass. The farther the grass the less detailed it should be~ Then colored grass would be an awesome next visual xD
@overphildev
@overphildev Жыл бұрын
Thanks! Looks like I have a long way to go on grass still
@smol.TomatenSuppe
@smol.TomatenSuppe Жыл бұрын
agreed
@kylemordaunt1896
@kylemordaunt1896 Жыл бұрын
Just seen this and agree, my msg is now useless haha
@Ninja1Zombie1Master
@Ninja1Zombie1Master Жыл бұрын
We're reaching a point where polygons are so cheap to render that textured cutouts aka opacity masking may actually be more expensive in some cases, mostly due to overdraw.
@alexevaldez
@alexevaldez Жыл бұрын
​@@Ninja1Zombie1Master it depends, specially which part of the old will you use it. also cutouts arent taxing to where I've been using it. the polygon problem isn't a big deal until you use it on hundreds and thousands of objects like what happened in the video. you can see on his stats alone the GPU really took a toll. even just shaving a few polys would be good enough. Neglecting polys can be a huge bottle neck on optimization in the future.
@grins9882
@grins9882 Жыл бұрын
I feel like there's too much grass, maybe have areas with some less dense grass clumps and areas where theres none at all, ferns and different species of fauna will help as well Also a way to improve performance further is make it so the further away something is from the player the less polygons it uses so you can be be able to render in the entire map from one spot as well as increas ethe performance of the game.
@overphildev
@overphildev Жыл бұрын
Good point I will definitely be tweaking it
@HyuganGaming
@HyuganGaming Жыл бұрын
this + also some textures (not for the grass, but the ground itself) could be a good idea theres also URP to make things look even better
@michieltjjj7821
@michieltjjj7821 Жыл бұрын
In addition to this, I'd add some sand near water rather than have tons of grass on your coastline :)
@shannenmr
@shannenmr Жыл бұрын
With GPU instancing you can still do scale variation for free so that can help so it doesn't look so uniformed and it can help hide holes and reduce the amount you need on screen. Also you probably don't need to apply Wind (World Position Offset) for grass mid to far from your character.
@remus-alexandrusimion3439
@remus-alexandrusimion3439 Жыл бұрын
This is the way. LOD is a must have for any kind of outsy game. Keep that in mind for trees, grass, rocks, whatever you put in the world. Even enemies/other players (in multiplayer) can dramatically impact performance (or lack thereof). Just mind how you do LOD because it might become visible that you're doing it if done wrong. usually the best pointer is trying to keep the silhouette the same regardless of LOD.
@Mighty_Oak214
@Mighty_Oak214 Жыл бұрын
I think the sky box does really improve the look of the game. one thing I would say is that it looks more realistic than everything else in the world right now so that's maybe why it looks a bit off. maybe you could add some really simple looking cartoonish clouds that slowly move off and disappear a bit like how the Minecraft clouds do. anyways loving the game :)
@overphildev
@overphildev Жыл бұрын
Yeah good point
@theFishy_
@theFishy_ Жыл бұрын
@@overphildev there is a unity option for custom clouds that look realistic, its called volumetric clouds
@interstellardragoncg
@interstellardragoncg Жыл бұрын
You should try scrolling a noise texture over the ground to make it feel like the clouds really exist. This would really help make the world feel more real and immersive.
@overphildev
@overphildev Жыл бұрын
I'll have to check that out thanks
@wetsaapbrehh7839
@wetsaapbrehh7839 Жыл бұрын
@@overphildev You would probably be better off with some 2D clouds vs volumetric would match your style as well as be much more optimized.
@lg03812
@lg03812 Жыл бұрын
I’d suggest having geographic landmarks in your world. It’s a good way to not get lost when exploring a new world. For example in ARK Survival there are unique terrain features in different locations. Once you see a giant mountain or cave, you know where you are! Regardless, loving the content, keep it up! Really enjoying watching the progress!
@overphildev
@overphildev Жыл бұрын
I am planning to add point of interest in the future. I have some fun ideas for that
@kihayu
@kihayu Жыл бұрын
Some tips on how to improve the grass (stolen from Breath of the Wild): - Zelda renders every blade of grass separately. It uses a straightforward model with 8 vertices for the sides (4 on each side) and another 4 in the vertical center. This allows you to make the blade more 3d like by bending on the two vertices in the middle. This 3d model has the shape of a rectangle and isn't in the shape of a blade. It uses a texture of a grass blade that bends however you modify the 3d model. This allows you to have a more complex texture. I hope I described that enough. Just ask for more information. - To increase the grass distance, replace the (already simple) model with another one that is more simple with like 6 or 4 vertices in the distance. It will look like normal grass at that distance and you don't have to animate it which also improves performance. - At a certain distance, don't render every grass blade. Render only every 2nd or 3rd or 4th blade. - Don't let the grass blades pop in. Use a smooth transition to fade them in or out. As I said if something is unclear or if you have some further questions, just ask. Maybe I can help :)
@overphildev
@overphildev Жыл бұрын
All good suggestions I think the fade in instead of pooping I'm would look really good
@Glooberloob
@Glooberloob Жыл бұрын
the brightness from the skybox looks great in my opinion! love seeing your progress
@dalecranston7343
@dalecranston7343 Жыл бұрын
I think it would be nice to have a more hilly world rather than a flattish one
@overphildev
@overphildev Жыл бұрын
It is something I will definitely tweak a bunch before I'm done
@XvirusX
@XvirusX Жыл бұрын
@@overphildev i think this is up to the Developer to decide and not fans
@qar_ty7732
@qar_ty7732 Жыл бұрын
@@XvirusX you know suggestions exist
@Andrew-pq3lj
@Andrew-pq3lj Жыл бұрын
Maybe keep the flatter terrain and make a mountain model that you can spawn in like trees?
@XvirusX
@XvirusX Жыл бұрын
@@qar_ty7732 well i dont like hilly world i prefer flat one X''; lets see you make npc climb this mountain
@obrooks
@obrooks Жыл бұрын
Nice progress as always! I think for the terrain, it might improve the look of the hills by increasing the roughness of the perlin noise to combat that smooth look - maybe even increasing the roughness only on the hills, so that you still keep those nice rolling grassy meadows. Also spawning rocky cliff pieces on steep terrain could help with it looking bare when the grass stops - not sure what the performance would be like though. Keep it up!
@obrooks
@obrooks Жыл бұрын
And adding noise in the grass shader for the colour, so you can have patches of grass that vary visually, to help break it up 😄
@overphildev
@overphildev Жыл бұрын
I'll keep that in mind. Im sure there is plenty more I will do to the terrain before I'm finished
@NathanielJamesProd
@NathanielJamesProd Жыл бұрын
Great work, the game is really improving in looks. It reminds me of the wii sports golfing arenas which I always loved the atmosphere of growing up.
@lejodev
@lejodev Жыл бұрын
I really love the new skybox and lighting, keep up the great work, it looks amazing
@overphildev
@overphildev Жыл бұрын
Thank you
@almostabsent5464
@almostabsent5464 Жыл бұрын
It's first video I saw from you and it's so nice watching ur journey of making a game. I was sure you gonna mention the way of rotating grass-faces to face player's camera, it wouldn't look as good as the final result though so nice work so far
@overphildev
@overphildev Жыл бұрын
Glad you enjoyed it!
@HatPeasyCat
@HatPeasyCat Жыл бұрын
this game will turn out to be amazing! You improve fast
@overphildev
@overphildev Жыл бұрын
Thank you I'm trying to keep a good pace
@deepcanionstudioita3818
@deepcanionstudioita3818 Жыл бұрын
i think that making the top of the grass brighter or the bottom darker would be a great effect to fake ambient occlusion, also randomly scaling the grass can make it look more natural
@sanderschat
@sanderschat Жыл бұрын
when you see hills, in real life or virtual, you wll get a sense of perspective. Suddenly you realize how 'far' away stuff is, how grand the scenery is.... so adding a few distance hill might give a sense of 'scale' to your world too. Great to follow your work!
@overphildev
@overphildev Жыл бұрын
That's a good point, maybe in the future I will add them back in
@caden5936
@caden5936 Жыл бұрын
I honestly really like the flatter worlds, it makes the environment look so much more vast and pretty
@overphildev
@overphildev Жыл бұрын
Thank you
@ZeoWorks
@ZeoWorks Жыл бұрын
Grass is an absolute nightmare in Unity. Perhaps remove the realtime shadowing of the grass and add a gradient to the grass texture instead? Another neat trick I learned was to fade the grass' opacity into the ground similar to how soft particles work. :)
@overphildev
@overphildev Жыл бұрын
That is a neat trick I might steal
@Forbuilds
@Forbuilds Жыл бұрын
I suggest making LOD models (level of detail), basically the model gets less and lass detailed the farther away from the camera it is, so it will look nice close to you and you wont be able to tell that it looks bad far away, and if you want to have, lets say, a mountain, it would look weird to have it be completely smooth, so you can have it just be low poly and it wont even be noticeable, hope this helps :)
@fernwaerts
@fernwaerts Жыл бұрын
Looks already pretty nice :) and I totally agree not having grass in your game is not an option in 2022. Small remark: You could also use a noise texture that spans across your world for color variation of the grass: For each grass object you would look up the value of the noise texture and use it as a multiplier. In this way you can get darker / lighter grass very cheaply. You can also move the noise texture (or use another one) to simulate cloud movement.
@dev.midnighthays
@dev.midnighthays Жыл бұрын
I want to say this is an really good start to making terrians! I am struggling rn with developing mine for my new game and I want to say don't let this part of level design mess with you. it takes a long time but in the end it will determine the game level
@overphildev
@overphildev Жыл бұрын
Yeah it's definitely a drag but very important
@dev.midnighthays
@dev.midnighthays Жыл бұрын
@@overphildev Just keep your head up mate! before you know it your project will be doing well!
@sammyn.9141
@sammyn.9141 Жыл бұрын
Love the new light! I also like how it is flatter more.
@overphildev
@overphildev Жыл бұрын
Cool glad to hear
@Danntens
@Danntens Жыл бұрын
Everybody: „Damn, we need grass“ Me: „His mouse is on the left side of his keyboard“
@overphildev
@overphildev Жыл бұрын
That's what happens when you record upside down
@heresjohnny7550
@heresjohnny7550 Жыл бұрын
Your welcome for sending the video!
@overphildev
@overphildev Жыл бұрын
You the real mvp
@PeterSedesse
@PeterSedesse Жыл бұрын
There is a free asset called ' per layer camera culling' that can do a lot of heavy lifting for that type of optimization. You assign objects to a layer, and then set the distance to show objects on that layer. For instance, I have a layer called ' tiny ' and add all little sticks, sea shells, acorns, weeds and stuff like that.. and have the distance at 10 meters. and it just works. Since the layer of a prefab is set in the inspector, it doesn't matter if it is pre-placed or added at runtime.
@overphildev
@overphildev Жыл бұрын
Oh that's cool. I'll try it out
@LemurG
@LemurG Жыл бұрын
I love acerola’s videos so it was cool you found his grass video! He makes a ton of videos about post processing and such and they are super useful
@overphildev
@overphildev Жыл бұрын
Yeah I might be using him again when the time comes for that stuff
@RonuPlays
@RonuPlays Жыл бұрын
Woah, the game is really taking shape, can't wait to see what comes next! Also, I personally like the flatter terrain, I think it it fits with the overall feel.
@overphildev
@overphildev Жыл бұрын
Thanks appreciate the feedback
@redmatter20
@redmatter20 Жыл бұрын
Fantastic vid! Im not sure if this has been menitioned yet but I think if you are having issues with finding items on the ground you could take a borderlands approach and add a small beacon on each item depending on the type and rarity of the object. Also subscribed, I love finding more game dev youtubers
@overphildev
@overphildev Жыл бұрын
Oh that would be cool
@holyshiftstudio
@holyshiftstudio Жыл бұрын
Great job, this was a really interesting video
@overphildev
@overphildev Жыл бұрын
Thank you I appreciate it
@sometf2player752
@sometf2player752 Жыл бұрын
the brighter lighting looks way better
@coreragestudios3430
@coreragestudios3430 Жыл бұрын
5:04 for this I would say learn knock back
@LemuriaGames
@LemuriaGames Жыл бұрын
Vegetation Studio is on sale from time to time and really worth it. I'm experimenting with a scene right now that brings Unity standard terrain trees and grass down to single-digit frames while VS still runs it at 50 fps.
@overphildev
@overphildev Жыл бұрын
Hmm might have to give it a chance then if it goes on sale
@Fearlez_11
@Fearlez_11 Жыл бұрын
this channel is underrated! glad i found this masterpiece before im late :)
@overphildev
@overphildev Жыл бұрын
Thanks I appreciate you
@MathMith
@MathMith Жыл бұрын
I didn't know a thing about GPU instancing before this video so thanks so much man! For the global look of the game I would add a bit of post processing effect like bloom and motion blur and other shiny stuff like that. But I think what would improve it instantly with no cost is to just activate the fog in lighting options in rendering (assuming you work with Unity). That could really give a sense of depth and distance to your game!
@overphildev
@overphildev Жыл бұрын
I honestly didn't know fog was that easy. I'll have to try that
@MathMith
@MathMith Жыл бұрын
@@overphildev yeah it's just one box to tick! Just be careful with the linear fog, it was my favorite one but for some reasons it just doesn't render in the build...
@BahaaSoliman
@BahaaSoliman 2 ай бұрын
bro literally just discovered Frustum and Occlusion Culling (where he deletes grass that you don't see), and mixed it with World Streaming (where he generates parts of the map that matter to you, and de-renders the rest), all in one video. Good job :)
@ChadWWolfe
@ChadWWolfe Жыл бұрын
Looks great!!
@potatoesss6174
@potatoesss6174 Жыл бұрын
Your game looks really cool! I think the tree shaking looks better than shaking the camera tho >()
@overphildev
@overphildev Жыл бұрын
Yeah I think I'm going to change it back
@sammyn.9141
@sammyn.9141 Жыл бұрын
I think a cool feature to add more life into the map would be different type of terrain/biomes. Possibly like snow terrain, sand terrain, etc. Just a thought!!
@overphildev
@overphildev Жыл бұрын
That would be cool
@Dorian.473x
@Dorian.473x Жыл бұрын
Good job bro
@overphildev
@overphildev Жыл бұрын
Appreciate you
@SalvadorMusica98
@SalvadorMusica98 Жыл бұрын
You could use occlusion culling, instead of chunking the terrain. It renders only what the camera sees (within a group of static objects).
@overphildev
@overphildev Жыл бұрын
I'll try it out
@SuperSertyuio
@SuperSertyuio Жыл бұрын
Next step in optimisation is frustrum culling! Unless it is on, which i don t think so! Basically, it makes the game render only what the camera can see! That will definitely improve performance by alot! Also, good luck! Game starts to look good! Keep up the good work!
@overphildev
@overphildev Жыл бұрын
Thank you I will try that next
@brohamhd8644
@brohamhd8644 Жыл бұрын
Keep up the good work theses are so good im also Ben making a survival game a lot like this but more breath of the wild but anime
@gofrisuto
@gofrisuto Жыл бұрын
Great video! I'm not in a state, where I can write a proper constructive criticism, I need time to collect my thoughts, but I wanted to write a comment for the algorithm. Expect to see this comment change soon.
@overphildev
@overphildev Жыл бұрын
Can't wait
@SuperMatthew345
@SuperMatthew345 Жыл бұрын
Looks fantastic!
@overphildev
@overphildev Жыл бұрын
Thanks glad you like it
@eliman2006
@eliman2006 Жыл бұрын
These changes are great! I cant even Imagine how long it took. I think the lighter sky complements the world well and you should keep it that way but maybe have transitions for things like fights or night. idk. But keep up the crazy coding man
@overphildev
@overphildev Жыл бұрын
It definitely took some time but glad you like it
@philip9698
@philip9698 Жыл бұрын
The grass makes it look so much better. Its coming together
@overphildev
@overphildev Жыл бұрын
Thanks, cool name by the way
@JasonKazz
@JasonKazz Жыл бұрын
I agree the comments saying the grass should be a bit smaller. Either that or maybe you could make the robot a larger? Anyways, I am always excited to see improvements you make. Great job!
@lyvenn
@lyvenn Жыл бұрын
I like the new light level, I didn't notice anything really off about it. I also would add in culling if you haven't already, or making grass further away from you have a lower detail mesh (maybe just 3 vertices for the furthest grass before it stops being rendered)
@overphildev
@overphildev Жыл бұрын
Cool glad it is just me then
@GIRGHGH
@GIRGHGH Жыл бұрын
I would change the ungrassed grass texture to look more like the grassed grass, so the ungrassed grass doesn't look so flat, cause it stands out a lot even though it's at a distance.
@zeroxplay10
@zeroxplay10 Жыл бұрын
You can use raycasts and/or colliders to stop the items from appearing from afar and through the ground.
@AKNightHawk
@AKNightHawk Жыл бұрын
Howdy. If you are going to get an asset from the store I would highly recommend Amplify Imposters. It can make any game object that you have on your map an imposter and will really improve the FPS to it. Basically it turns the 3D object into a 2D plane and can really improve performance. The object will still look 3D. And at good distances you wont be able to tell it is a 2D plane. Also make sure you lod everything. Either by getting a LOD generating asset or doing it manually in a 3D program. Lods really help in that department. Mantis LOD Editor - Professional Edition comes with a standalone program to lod objects. And makes it easy to lod things directly in the editor or in the standalone program. Lastly I would actually get Vegetation Studio it would really help with rendering grass and trees. But wait for when assets go on sale. Or get them through humble bundle. Having assets can actually make things go a lot better in the long run.
@overphildev
@overphildev Жыл бұрын
Thats really interesting I'll have to look more into it.
@harvinater3
@harvinater3 Жыл бұрын
Looking great so far but you also need more variety in the grass / and trees different types taller and shorter grass
@Aurich88
@Aurich88 Жыл бұрын
I think the tree shake looks better than the camera shake. Maybe try shaking it without moving the object origin (assuming the origin is the base of the tree) so it looks less like the tree is just shivering 'cause it's cold.
@overphildev
@overphildev Жыл бұрын
Yeah I think that is a good idea
@themerpheus
@themerpheus Жыл бұрын
There are couple of things to do with grass but one is frustum culling with jobs and burst. The other is a little harder but effective. It is by writing a software rasterizer for grass and drawing it by yourself to the screen.
@overphildev
@overphildev Жыл бұрын
One of those options sound way easier lol
@xaviercheney4831
@xaviercheney4831 Жыл бұрын
The grass looks beautiful!
@overphildev
@overphildev Жыл бұрын
Thank you
@Gigatechi7
@Gigatechi7 7 ай бұрын
how do you get your tree leaves to look the way they do , I like
@BubbledBasil
@BubbledBasil Жыл бұрын
You could definitely add some bushes and small twigs to make the game more visually appealing , also you can add trees variant colors
@overphildev
@overphildev Жыл бұрын
Plenty more still to come. Just wanted to get it started in this video. Bushes and things will be added soon
@BeautyBoy4577
@BeautyBoy4577 Жыл бұрын
I would test if a max cull distance for the individual grass instances would improve the performance even further. I read some people who advice you to use grass meshes with 2 polygons only. I wouldn't say that this is always the best option, as in some circumstances this can lead to quad overdraws very easily (if you heavily rely on the alpha texture and have a lot of unused space in your grass mesh), which decrease performance and you have a hard time giving your grass a wind animation which makes them much more alive and less static. I would recommend to use more polygons and model the grass so it kinda has the form of a single grass, and use a alphacut texture to make it look more detailed and use your uv space more efficiently. This way you can reduce quad overdraws. Then use LODs to reduce their polycount over distance. That's what i do with my grass in unreal, but i think that in unity it shouldn't make a big difference.
@overphildev
@overphildev Жыл бұрын
Cool very interesting I'll have to check it out
@Brixxter
@Brixxter Жыл бұрын
The bright colors look so much better in my opinion
@overphildev
@overphildev Жыл бұрын
Awesome glad you like it
@voodoo5191
@voodoo5191 Жыл бұрын
I'm in a similiar situation as you were xD. I'm making a game about fishing and defending your island from planes (yeah sounds weird ik xD). My terrain is also procedurally generated. Right now it looks ok but your video convinced me to add grass since it did really help your game so I think It'll work in mine too.
@overphildev
@overphildev Жыл бұрын
That's a very it interesting game idea curious how it turns out. But yes I was surprised just how much grass added
@Lightningsquid
@Lightningsquid Жыл бұрын
I really like how this looks but you should add more materials to the ground like mud and such!
@overphildev
@overphildev Жыл бұрын
Much more improvements to come
@wetsaapbrehh7839
@wetsaapbrehh7839 Жыл бұрын
I would look into crafting an auto material with multiple grass types, dirt, rocks sand, underwater coral, seaweed and even bushes and ground clutter and based off of predetermined height and slope it will apply the correct material and meshes to your landscape. I have created quite a few for unreal I haven't used Unity in awhile but I'm fairly certain this is possible there as well. It takes a bit of time to set up and tweak to our liking but it will drastically help speed things up when prototyping new levels in the future.
@overphildev
@overphildev Жыл бұрын
That's a good idea
@kloaken1
@kloaken1 Жыл бұрын
If your thanking on making a terain editing tool or something alike the you should to that soon because it's going to be very hard implement that in the future.
@overphildev
@overphildev Жыл бұрын
Yeah that would be smart
@vanilla2425
@vanilla2425 Жыл бұрын
I think the game "pops" a lot more with brighter colors and lots of green vegetation. It adds a lot of juxtaposing visuals with the white robots in a way that adds clarity and makes the game look visually interesting.
@AceGrip
@AceGrip Жыл бұрын
For the grass personally, i think you should have 'patches' of grass in the chunks, instead of having 100% filled, see if you can lower the amount of grass anyways (maybe it improves framerate). And also perhaps make the grass a bit lower in height. With Mountains/hills, i think you should have some hils, and if you are planning on implementing mines/caves in your game then at least a couple mountains with caves in them would be a nice atmospheric change. (myb have loot chests in the "mountain caves")
@overphildev
@overphildev Жыл бұрын
Lowering the amount of grass would definitely improve framerate amd if it looks better too that's a win win
@propitious.
@propitious. Жыл бұрын
You should try maybe making the grass shorter and adding some bushes and/or small flowers, you could probably take some inspiration from @Codeer , their game looks similar to yours For example, fog
@dontwanttobeknown3611
@dontwanttobeknown3611 Жыл бұрын
Little Feedback: The flatter world is a 50/50 for me, I liked those mountains but the plains appear to ne nice too. One Part I dont like atm is the new shaking Animation. I think the old one where only the tree shakes was great, so you could change that back… also it is really annoying when the camera shakes all the time. You can do that at heavy attacks or earthquakes, Stuff that doesnt happen that often as punching trees. Another great Improvement was the sky, I really like the look of it. Keep the great work up, I really enjoy ur content
@overphildev
@overphildev Жыл бұрын
Thanks for the feedback, I am also leaning towards putting the tree shake back and just keeping the screen shake to taking damage.
@DrPsychotic
@DrPsychotic Жыл бұрын
I definitlly like the brighter version more
@coolyo_kai
@coolyo_kai Жыл бұрын
The sky box makes EVERYTHING better its much better but a different HDRI sky box would probably do the same for the game so tweak it how you want 👍 the game is also at the point where i think the Graphix are good enough that it wouldn't be something to stop me from buying it and wouldn't annoy me.
@polimetakrylanmetylu2483
@polimetakrylanmetylu2483 Жыл бұрын
About instancing, obligatory: Your models are already sent to the GPU. The problem is just that issuing draw call is costly. Doing thousands of draw calls every frame is worse than doing one instanced call, even if they are rendering the same amount of geometry What you could've confused was a thing in OpenGL or older Direct3D where draw calls are actually blocking, like IO. Doing a draw call in those stops CPU from executing until the GPU acknowledges it finished work
@overphildev
@overphildev Жыл бұрын
Very interesting I'll look into it more
@ashenr1der
@ashenr1der Жыл бұрын
I think you can improve the processing speed if you decrease the tesselation based on distance and make further away parts less dense. I had a similar issue to you where I needed grass in a low poly proc gen vr game I was working on and I modified some code I found online to work like this, and I went from sub 60 fps to well over 100 or more if I recall correctly.
@ashenr1der
@ashenr1der Жыл бұрын
if (averageDist >= _TessellationDistFar) f.edge[0] = f.edge[1] = f.edge[2] = f.inside = _TessellationUniformAtFarDistance; else if (averageDist >= _TessellationDist) f.edge[0] = f.edge[1] = f.edge[2] = f.inside = _TessellationUniformAtDistance; else f.edge[0] = f.edge[1] = f.edge[2] = f.inside = _TessellationUniform; even i hardly understand the code (i know very little about shaders) but it just has 3 density settings for the grass tesselation so that distant grass is less dense, which can even remove the harsh lines caused by render distance cut offs I'm sure there is a smoother way to do this though
@overphildev
@overphildev Жыл бұрын
Wow that would be really great I'll have to try it out. Thanks for providing the code too
@ashenr1der
@ashenr1der Жыл бұрын
​@@overphildev Yeah, I hope it helps!
@Overworld_FN
@Overworld_FN Жыл бұрын
the actual best way you could've done the grass so it does lag is to code it so it makes one BIG object that covers the whole land and so the GPU only needs to take care of one ( code it so it ray traces the whole map and finds the exact angle and depth the grass needs and join all the grass objects together )
@overphildev
@overphildev Жыл бұрын
Hmm that's an interesting idea
@HIBIKIent
@HIBIKIent Жыл бұрын
Additional to Shadows, if you disable directional shadows you can add contact shadows in its place, it's much cheaper solution if you still want to keep shadows (however not necessary for stylised games). Also consider additional camera frustum culling of your chunks, this adds some CPU cost on top but it has an additional save to GPU from not rendering behind view. Mesh vertex density The smaller the triangles to pixel ratio is, the absolute worse GPU processing will be, along with alpha cutout overdraw, these two alone can cripple performance more than the amount of veggies. Finally frame debugger, you want to check this regularly that your instancing or instancing indirect meshes are correctly rendering and not failing forcing it through a different render loop ( or worse a static batch render which should already be disabled.) GL :3
@overphildev
@overphildev Жыл бұрын
Thanks for all the suggestions I'll look into them more
@oliverdowning1543
@oliverdowning1543 4 ай бұрын
Presumably you can also use an LOD system with the chunking as well to switch to basically just simply billboard textures when it's further away and you still want something but it doesn't need to be as good.
@zachooray
@zachooray Жыл бұрын
Depends on what you're going for, but turning off the shadows on your grass and using SSAO ( screen space ambient occlusion) might look better
@overphildev
@overphildev Жыл бұрын
Hmm that could be interesting I'll have to play around with that now
@aryszin
@aryszin Жыл бұрын
Besides chunks, add if something is behind a certain degree from where the camera as facing, that it isn't displayed!
@overphildev
@overphildev Жыл бұрын
I'll try it out
@andrewkauke
@andrewkauke Жыл бұрын
For game optimization you might want to try altering the grass density bases on distance from the player. An area that’s far away but still in a loaded chunk doesn’t need to have as much grass to look convincing
@overphildev
@overphildev Жыл бұрын
Very true
@BrockRocksGaming
@BrockRocksGaming Жыл бұрын
The grass seems tall. And at first I thought that was bad, but I suppose no one is there to mow the grass in a robot apocalypse
@overphildev
@overphildev Жыл бұрын
Yeah I might decrease the size anyways to make it look better
@jamesclark2663
@jamesclark2663 8 ай бұрын
Just a heads up about the camera shaking, that absolutely needs to be an option. I've had to mod or quit playing some games that did that while harvesting because it makes me nauseous and gives me a massive headache. As for the grass, I know these days that vertext count might not seem important but still 44 million verts is still a heck of a lot.
@thebestgamer5248
@thebestgamer5248 Жыл бұрын
I would recommend adding fog. You could also make the skybox brighter and make the grass less saturated.
@overphildev
@overphildev Жыл бұрын
Fog is definitely on my list
@LukyClips
@LukyClips Жыл бұрын
the tree shake looked better ngl
@overphildev
@overphildev Жыл бұрын
Cool glad to hear
@alexfroest8432
@alexfroest8432 Жыл бұрын
I like the new skybox and the increased light
@overphildev
@overphildev Жыл бұрын
Great it's really been growing on me
@walker1054
@walker1054 Жыл бұрын
Since you mentioned Horizon and this video is largely about optimisation(like most game dev stuff really) it reminded me of that Horizon behind the scenes thing where you can see which chunks of the world are being rendered when the camera moves. It's here if you wanna see what I'm talking about. Horizon has like hour long developer videos about how they did their foiliage in general, like placement and design and how it's rendered and stuff, might give ideas for this even if you would be doing a much more basic version. /r/gaming/comments/7v85ff/heres_whats_happening_in_horizon_zero_dawn_every/
@overphildev
@overphildev Жыл бұрын
That's really cool! I had never heard about this thank you
@diggerpy
@diggerpy Жыл бұрын
Are you talking about occlusion culling
@srsherman7
@srsherman7 Жыл бұрын
I remember dealing with grass... it's even more fun when I wanted to upgrade my project to hdrp and they don't support grass in hdrp the same way built in does.. smh so all my grass broke. Had to re add the bilboards as meshss as "trees" I think support is better these days though.
@overphildev
@overphildev Жыл бұрын
You're right that sounds way more fun
@thereviewerofgames5353
@thereviewerofgames5353 Жыл бұрын
Another great video
@overphildev
@overphildev Жыл бұрын
Appreciate it
@sometf2player752
@sometf2player752 Жыл бұрын
2:36 you can made it even lower poly like you can make it one polygon and it would still look good
@coolyo_kai
@coolyo_kai Жыл бұрын
and if you make it so only grass instances in the camera FOV render (view frustem culling) it will also improve the FPS. games like ghost of sushishima use this for all its foliage. view thrustem culling
@lukerosen2536
@lukerosen2536 Жыл бұрын
Game looks better nice job
@overphildev
@overphildev Жыл бұрын
Thanks
@CG_CAKE
@CG_CAKE Жыл бұрын
Ive heard compute shading is more performant it works 100x faster than cpu but more difficult to master .
@overphildev
@overphildev Жыл бұрын
Any chance you're a pro at it?
@CG_CAKE
@CG_CAKE Жыл бұрын
@@overphildev no I tried but It gave me a head ache , mabe I need more time
@Kaltinril
@Kaltinril Жыл бұрын
what about oct-trees or quad-trees to help identify the grass locations?
@masonleesummerhill
@masonleesummerhill Жыл бұрын
i think if you made the light from the sky warmer or changed the time of day to be closer to dawn/dusk that the feel would be much nicer. also you could not only chunk the grass, but allow chunks that are farther away to be lower res?
@overphildev
@overphildev Жыл бұрын
Good idea
@lolly166541
@lolly166541 Жыл бұрын
I have to say, the brighter Version sure suits the Game a lot more! The Style in which everything is rendered suits the more poppy colour you get from the new Skybox! I'd keep it. Makes it a lot more Cartoony.
@overphildev
@overphildev Жыл бұрын
I agree a cartoony look would suit it very well
@florianmaitre-maudhuit3567
@florianmaitre-maudhuit3567 Жыл бұрын
I find the new light caused by the new skybox better than the older
@overphildev
@overphildev Жыл бұрын
Excellent
@OkOkOkIMightKnowYou
@OkOkOkIMightKnowYou Жыл бұрын
Instancing reduces draw calls, what’s described here sounds like batching geometry.
@overphildev
@overphildev Жыл бұрын
I'll have to look into it more. I am just starting to lean about this stuff so I wouldn't be surprised if I got something wrong
@alvinthomas552
@alvinthomas552 Жыл бұрын
For the most part i agree the terrain should be flat but it would be really awesome to have a massive mountain like mount chilliad on GTA5
@overphildev
@overphildev Жыл бұрын
I have some fun points of interest planned that I think might fill that void
@alvinthomas552
@alvinthomas552 Жыл бұрын
@@overphildev that's great to hear. I'm looking forward to it!
@wazaDev
@wazaDev Жыл бұрын
the game is coming along very wonderfully, the grass really makes everything pop. A bit more post processing and the quality will be awesome
@overphildev
@overphildev Жыл бұрын
Thanks!
@susannasu6824
@susannasu6824 Жыл бұрын
Looks great, i like more hills, and maybe make the water look better
@overphildev
@overphildev Жыл бұрын
Appreciate the feedback
@ziro7616
@ziro7616 Жыл бұрын
I think the mountains stand out for two reasons: 1) They have nothing on them (no grass makes sense for a mountain, but still looks naked. Maybe some rocks or pebbles?) 2) They are smooth. I think this is the bigger one. Mountains aren't smooth transitions from the world around them. They're steep and jagged, so the way the engine is currently set to blend terrain is detracting from it. Also misc feedback: I think the tree cutting (and maybe attack as well) attack speed should be made twice as fast (but half as strong). It looks sloooow right now. Also, faster attacks mean faster combat = more strafing opportunities = more engaging/skillful. Keep up the good work!
@overphildev
@overphildev Жыл бұрын
Yeah before I add mountains back I need to make them more jagged
@abdulahmad2680
@abdulahmad2680 Жыл бұрын
removing the shadows from grass might help too. although i don’t know if the shadows are also gpu instanced.
@overphildev
@overphildev Жыл бұрын
I'll try it out
Adding the First Defense to my Survival Game
6:41
OverPhil Dev
Рет қаралды 14 М.
How Are Games Rendering Fur?
28:51
Acerola
Рет қаралды 403 М.
FOUND MONEY 😱 #shorts
00:31
dednahype
Рет қаралды 3,5 МЛН
Mini Jelly Cake 🎂
00:50
Mr. Clabik
Рет қаралды 17 МЛН
Normal vs Smokers !! 😱😱😱
00:12
Tibo InShape
Рет қаралды 58 МЛН
How NOT to make an indie game
22:01
Lychee Game Labs
Рет қаралды 1,9 МЛН
Making a Game About Being Short
6:02
OverPhil Dev
Рет қаралды 8 М.
When Your Game Is Bad But Your Optimisation Is Genius
8:52
Vercidium
Рет қаралды 1,3 МЛН
Making My Dream Game - DEVLOG #1
5:01
RandomDev
Рет қаралды 9 М.
I Learned Blender in 30 Days
14:24
OverPhil Dev
Рет қаралды 41 М.
How Games Fake Water
22:52
Acerola
Рет қаралды 182 М.
My 10 YEAR Indie Game Development Journey
23:58
ThinMatrix
Рет қаралды 530 М.
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 671 М.
Why 96% of Indie Games Fail
14:31
Going Indie
Рет қаралды 209 М.
ВЕРИТ ЛИ ТИГРА БУЛЛИ?
0:32
Pimpochka Games
Рет қаралды 2,4 МЛН
train rush part 7722 #shorts #viral #trending
0:54
voxzon gaming
Рет қаралды 27 МЛН
Я попробовал это машину, но..😱 #пирожок #роблокс #roblox
0:38