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/06/04 14:37] – [Eevee & Compositing] mh | 3d:shading [2025/08/19 10:13] (current) – [Walkthrough] mh | ||
---|---|---|---|
Line 197: | Line 197: | ||
---- | ---- | ||
- | ===== Eevee & Compositing | + | ===== Decals using UVs ===== |
- | ==== Basics | + | ==== Result ==== |
+ | |||
+ | {{: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== Walkthrough ==== | ||
+ | |||
+ | This works for objects that are already UV unwrapped. | ||
+ | |||
+ | In the shader editor, add an image texture to the base color. | ||
+ | |||
+ | Using **Node Wrangler** use **'' | ||
+ | |||
+ | Replace the **Texture Coordinate** node by a **UV map** node. | ||
+ | |||
+ | If necessary change the scale of the bottom texture. | ||
+ | |||
+ | Duplicate the entire branch (with the Principled BSDF) and in this second branch replace the image with background alpha 0 channel to use as decal. | ||
+ | |||
+ | Use **'' | ||
+ | |||
+ | Use the Alpha of the decal image as factor for the mix. Use **'' | ||
+ | |||
+ | With the object selected, in the **Data** property panel, under UV Maps, add a second UV Map. Rename it decal and use it as the UV Map for the Vector coordinates of the mapping on the decal texture. | ||
+ | |||
+ | Select the object and smart UV project it. Select all, scale it down and put it in an alpha 0 portion on the decal image. | ||
+ | |||
+ | Select the faces where you want to decal and either **project from view** or **angle based projection** and scale/ | ||
+ | |||
+ | ---- | ||
+ | ===== Eevee Bloom ===== | ||
Open the **Compositing** workspace. | Open the **Compositing** workspace. | ||
Line 207: | Line 238: | ||
Add a **Viewer** node and render the scene. Connect the render to the **Viewer** node. | Add a **Viewer** node and render the scene. Connect the render to the **Viewer** node. | ||
+ | Optionally add a **Image Editor** viewport and view the **Viewer node** for a clearer view of post-process. | ||
+ | |||
+ | Use **'' | ||
+ | |||
+ | Switch to **Fog Glow** and adjust settings. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | When in Layout view, Rendered preview, the Viewport Shading dropdown menu enables to activate the Compositor when in Camera view, Always or never (default). | ||
+ | |||
+ | This is useful to get any post-process effect to display in real-time in the Layout view. | ||
===== Resource sites ===== | ===== Resource sites ===== | ||