Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
3d:shading [2025/03/29 15:10] – mh | 3d:shading [2025/04/17 17:29] (current) – [Texture Coordinates] mh | ||
---|---|---|---|
Line 4: | Line 4: | ||
**PBR** (Physically Based Rendering) are best rendered with Cycles render engine. The material reacts to the environment and lighting in a physically realistic way. | **PBR** (Physically Based Rendering) are best rendered with Cycles render engine. The material reacts to the environment and lighting in a physically realistic way. | ||
- | **HDRi** textures can be used on the World shader to bring lighting to the scene. To turn it off in the display | + | **HDRi** textures can be used on the World shader to bring lighting to the scene. |
+ | |||
+ | To turn off its display | ||
Line 12: | Line 14: | ||
==== Texture Coordinates ==== | ==== Texture Coordinates ==== | ||
- | For all the texture nodes use a **Texture coordinate** node (use output | + | For all the texture nodes use a **Texture coordinate** node (output |
+ | |||
+ | If you have **Node Wrangler** add-on activated, | ||
- | If you have **Node Wrangler** add-on activated, the keyboard shortcut '' | + | {{3d:pbr-texture-coordinates.png? |
- | {{3d: | ||
Incidently, using **Node Wrangler** add-on you can select the **Principled BSDF** and use '' | Incidently, using **Node Wrangler** add-on you can select the **Principled BSDF** and use '' | ||
Line 68: | Line 71: | ||
In the case of texture painting, there is a way to add a bit of normals and bumpiness using the data from the image texture and a few color ramps as so : | In the case of texture painting, there is a way to add a bit of normals and bumpiness using the data from the image texture and a few color ramps as so : | ||
- | {{3d: | + | {{3d: |
Line 75: | Line 78: | ||
A texture atlas is a custom image combining many different textures all in one image. It has the huge advantage of asking the CPU/GPU to load only one image and pick all the textures for different objects from parts of that image. The inconvenience is that each texture will have a lower pixel resolution (being part of a greater image) | A texture atlas is a custom image combining many different textures all in one image. It has the huge advantage of asking the CPU/GPU to load only one image and pick all the textures for different objects from parts of that image. The inconvenience is that each texture will have a lower pixel resolution (being part of a greater image) | ||
+ | ==== Seamless textures ==== | ||
+ | Using seamless textures is useful as the texture will repeat itself when scaled without it being too noticeable at a glance. However, if you scale too much, a pattern will become visible as the texture repeats itself. | ||
+ | |||
+ | There are two ways to scale : | ||
+ | |||
+ | In the node editor, on the **mapping** node : | ||
+ | |||
+ | {{3d: | ||
+ | |||
+ | In the UV editor, by scaling the unwrap. This second option is preferable if you are going to export your scene to a game engine as the UV unwrap (and it's scale) will be exported with it. | ||
+ | |||
+ | {{3d: | ||
+ | |||
+ | A handy feature of seamless textures is that they will continue applying if you modify your geometry. One good way to do this is with an edge slide (Shortcut : '' | ||
+ | |||
+ | {{3d: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== Procedural textures ==== | ||
+ | |||
+ | Procedural textures are created by using nodes instead of images or photographs to create a material. Basic texture nodes are mixed together (often with a **MixRGB** node) and the Color output is then used to give both roughness and normals to the material. | ||
+ | |||
+ | {{3d: | ||
+ | |||
+ | When creating textures with this method it's important to think macro-details and micro-details and mix them together. The '' | ||
+ | |||
+ | A rapid shortcut to create a mix node is to '' | ||
+ | |||
+ | The procedural textures can be very easily tweaked and modified. They do not require much artistic skills as opposed to the // | ||
+ | |||
+ | ---- | ||
+ | ===== Sample Low Poly Shaders ===== | ||
+ | |||
+ | ==== Stone with noise ==== | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ---- | ||
+ | ==== Wood with noise ==== | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ---- | ||
+ | ===== Texture Painting ===== | ||
+ | |||
+ | Texture painting can be done in the **Texture Painting** workspace. | ||
+ | |||
+ | To texture paint on an object, it needs to be UV unwrapped. (The default cube is already unwrapped). | ||
+ | |||
+ | You also need a texture image to paint on. To easily create one, in **Texture Paint** mode select the **Texture slots** drop down menu and click **'' | ||
+ | |||
+ | It will be automatically added to the material in the **Shader** editor. | ||
+ | |||
+ | ==== Color picker & Color Palette ==== | ||
+ | |||
+ | In the **Tool** tab, the **Color Picker** contains the color wheel to select different colors. | ||
+ | |||
+ | Hovering over a color in the 3D Viewport and pressing **'' | ||
+ | |||
+ | With a palette created and open, maintaining **'' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== Masks ==== | ||
+ | |||
+ | Masks can be added with the **Mask** brush but need a Stencil Mask to work on. | ||
+ | |||
+ | These can be found with the drop down menu next to the **Texture Slots**. | ||
+ | |||
+ | Once a mask is created and selected, simply paint with the **Mask** brush to apply a mask preventing further painting on that area with another brush. | ||
+ | |||
+ | Remember to tick the **Fake user** icon to save the mask in the project file. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== Texture images ==== | ||
+ | |||
+ | Texture images can be added in the **Texture** menu of the **Color Picker** | ||
+ | |||
+ | You can duplicate a brush to create a texture image on the cloned brush. | ||
+ | |||
+ | Once a texture image is created in the **Color Palette** use the **Texture** tab to open an existing image. | ||
+ | |||
+ | Back in the **Color Picker** (**Tool** tab), under the **Stroke** property switch the **Method** to **Anchored** | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ---- | ||
===== Resource sites ===== | ===== Resource sites ===== | ||