With the recent release of RobloxStudioBeta, which you can get from the Roblox GitHub page, a bunch of features were added. One of those was PBR, or Physically Based Rendering. This means that light will now behave and react in a more realistic way depending on the texture, depth and color, resulting in an almost hyper realistic look. This tutorial is here to help you get these amazing textures.
Firstly, Go to the following thread and download the zip file. Extract the zip file into a new folder called Roblox Beta, and once its done, click on the new folder and scroll down until you see RobloxStudioBeta.exe
Introducing the "Avatar Evolution" Studio Beta Build!
Open this new version of studio. It may take some time to load, but afterwards, you will be greeted with the generic Studio screen.
Click on new, and select baseplate.
- Now go into your game, and put a new part into the workspace. Then go to Lighting, and enable shadow Map.
Enabling shadow map will result in a more realistic result as the sun has more realistic behavior in that mode.
- Now, we will be using a software called Materialize to make our textures. Its free, and reasonably small. Download it in the link here: Bounding Box Software - Materialize
Extract the zip file into a folder called Material Maker. Once that is finished, make a separate folder called materials. This is where we will make and store all of our materials.
- Now open materialize. It may be overwhelming at first, but take a deep breath, and follow the following instructions. It should look like this when opened up:
The controls are right click to move, and scroll wheel to zoom.
No hover your mouse over diffuse map.
click the O, which stands for open. Select the texture you want to make PBR. i will be using a brick wall, But any texture will do as long as it is square.
Now your workspace should look like this:
But you will realize that the texture looks a bit flat.That brings us on to the next step, which is to add a heightmap!
- On the left of the Diffuse panel, you will see a heightmap panel. Click on create, and you image should look like this:
Now all those sliders may look confusing, but you don’t need half of them. All you should care about at the moment is the Final Gain, Final Contrast, and Final Bias. The way height maps work is the the darker and blacker the color, the lower that part will be rendered. The whiter it is, the higher it will be rendered. This gives the illusion of a 3D look on the texture.
Mess around until it looks about right. Make sure the cracks on the brick wall, if you are using it, are as black as can be, so that they are as low as can be. You can do this by messing around with the contrast.
Once it looks good, like mine
Now, to preview your texture, click on Show full material.
This will show a preview of what you texture should look like. And as you will see, if you have done the heightmap correctly, it should look 3D.
But we are not finished yet! Roblox Studio requires three different Maps to make PBR look so special. And the last one is called Normal Map, to the Right of Diffuse.
Normal Map calculates how the object will react with sun light, and how the sun light will travel through and on to that object and texture. Click create, and your workspace should look like this:
The is no real need to change anything with the sliders, and if you do, only do it if you know what you are doing.
Click set as Normal Map, and now preview your material. Mine looks like this:
Now you are finished with Masterialize, export this by going here:
and select PNG. Then, click Save Project and save it to your materials folder you made earlier with whatever name you want.
- Now close Materialize. Publish your place so you can import Images and assets, and open up the game explorer.
After this, you should see the game explorer.
Hover your cursor over Images, right click and add assets. Then, you to your materials folder, and import the Diffuse, Normal and Height Maps.
- Create a Surface Appearance for your part
Now the Surface Appearances properties should look like this:
The color map is the Diffuse map. So click on ColorMap, and select your Diffuse Map from the drop down menu.
I will cover metal objects in another tutorial soon!
Normal Map is the Normal Map that you made. select it from the drop down menu.
Roughness Map is the HeightMap. Select it from the drop down menu. If all has been done correctly, your brick PBR object should look like this:
Look at how light only goes in levitated areas, and how realistic it can look!
Here are some examples of what can be done with PBR: (All done by me)
Common Issues: My PBR texture looks stretched.
Answer: Thats because you item that you are putting the texture on to is too big for the texture, and stretches it.
How to combat it. Turn you brick into a Union, or just copy and paste the High resolution brick over and over again.
This is the end of my Tutotial
If you have any questions, i will be ready to Answer.
PS: This is not live yet, so when you play your game, the textures won’t appear. Don’t worry, They will appear in 2020