Make a Planet in Unity 2019 with Polybrush! (Tutorial)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
level design is one of the most difficult parts of making a game for this reason we at unity have developed a set of tools to make it easier for you so in this video we're going to take a look at poly brush which allows you to sculpt paint and blend within the unity editor we're also going to create this little planet using various features of polybrush so with that being said buckle up and let's get into it with the release of unity 2019.2 polybrush was added to the package manager so in order to get started let's head over to window and enter the package manager in here we're going to browse down a bit until we find poly brush and then simply select it and press install once unity finishes installing poly brush we will see three new options appear in the package manager under samples polybrush comes with a pack of example shaders if you want to use them you can pick one of the three options based on which render pipeline your project makes use of my project is using the built-in render pipeline so i'm gonna go with the first option standard cool so now we have installed both poly brush and a pack of sample shaders which are located in the samples folder in our project view now let's start playing first let's add a sphere to our scene which we're going to make more awesome using poly brush let's go to game object 3d and pick sphere next step is to open up the poly brush window we're going to head over to tools pulley brush and choose poly brush window so let's take a quick look at the features before we proceed we have the following five tools sculpt tool smooth tool paint vertex scatter mode and paint textures first let's try the scalp tool the sculpt tool is for shaping a mesh which in our case is the sphere while the poly brush window is open if we hover our mouse over the scene view and especially the sphere we can see a brush on the surface to make this brush visible on another game object we simply have to select that game object first while we're in the sculpt mode we can hold down our left mouse button to pull the surface if we instead want to push the surface we can hold down control while using the left mouse button we can also set a brush strength which is how much we want to push or pull the faces we are sculpting and set a direction for how vertices are moved if we disable brush normal is sticky and modify the sphere the vertices will start following the brush whereas having this option enabled will move vertices only on the direction we set so let's quickly sculpt a little bit on the sphere to make it look more like a planet i will make sure to add a few hills around here and just shape it nicely by changing the radius of the brush through brush settings i can make my heels larger or smaller to be more precise i will also choose the smooth tool and smooth out these harsh heels to make them look more natural and curved by reducing the strength in brush settings we can lower the intensity of the smooth brush and there we go i think this looks nice enough to host some vegetation later on next we're going to paint and blend some nice textures on our planet in order to do this we will need the material of the sphere to support texture blending now this is really easy to do though so just follow along we will first create a new material that makes use of the example shader that we imported earlier so let us browse to the samples folder and find the shaders and here actually let me show you a trick right click the standard texture blend shader go to create and pick material we can name this material anything we want to but i will call it planet material now because we right clicked on the shader the material automatically makes use of it so you don't have to assign it yourself unity tips you're welcome now let's assign this material to our sphere by simply dragging the material file onto our sphere object in the scene then we'll expand the material properties and add in our textures that we want to paint i'm going to enter the terrain textures pack free folder which is an asset pack that i downloaded for this project through the unity asset store if you want to use the same asset we have a link for it in the description below in this folder we have a few textures so i'm just simply going to drag them into the corresponding fields in the material properties through the inspector window now let's return to the polybrush window and enter paint textures and here we can now see that we have all four textures added let's now pick flood select the texture we want to paint and click anywhere on the sphere once to apply this texture all around our planet next up i'm going to paint various parts of the planet with the different textures and we can already start seeing that the textures are a little too big in size so let's get back in the material properties of the planet and increase the tiling of the textures now it looks better great now we have a sculpted planet which has got some nice textures on it one thing is still missing though and that's vegetation so let's go ahead and fix that let's enter the prefab scatter mode this is a tool that allows you to paint prefabs on an object in the scene as you can see it says drag prefabs here under current palette so i'm going to highlight some of the 3d vegetation models we have in this asset folder right here and drag them into that field in order to start painting we simply have to check this little check box below each prefab we want to paint and then simply go bob ross on this little planet we can of course paint multiple prefabs at once or one at a time a neat trick is that you can hold down control and it will toggle to erase which will remove the objects that you have painted so let me take my time and just cook something up here i am playing with the values such as frequency which decides how often a prefab will spawn when you paint and randomize scale and rotation in order to add some variety so our vegetation doesn't look all the same and after a few minutes of just painting around the planet here is our gorgeous planet as you can see we are able to easily modify any mesh in unity thanks to polybrush and do more advanced level design very quickly let us know in the comments section if you're working on the game right now and how you're gonna use polybrush in your project you all are always so creative with how you use unity and features like polybrush so i look forward to seeing what you're creating if you want to learn more about polybrush make sure to check out the link in the description below which is going to take you to the documentation for this feature if you have any questions feel free to let us know in the comment section and on that thank you for watching and we will see you in the comment section you
Info
Channel: Unity
Views: 105,868
Rating: undefined out of 5
Keywords: Unity3d, Unity, Unity Technologies, Games, Game Development, Game Dev, Game Engine, polybrush unity, polybrush, unity polybrush. unity polybrush tutorial, unity polybrush 2019, unity 2019 polybrush, unity polybrush tutorial, how to use unity, how to make a game in unity, unity 2019.3 polybrush, unity 2019.2 polybrush, unity 2019, polybrush in unity, polybrush unity download, unity polybrush terrain, unity gamedev, learn unity, unity indiedev, unity tutorial for beginners, unity
Id: QHslFO0vlGg
Channel Id: undefined
Length: 7min 24sec (444 seconds)
Published: Mon Sep 16 2019
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.