Transparent parts with decoration
Scrubs a commencé cette discussion dans Model Export and Render
Avatar de Scrubs
Administrateur

The Blender template I created does not handle transparent parts with decoration. Even if they are not that common, it is good to know how to set up the materials manually for them.

  1. Alter the decoration file in an image editor. Only keep solid areas.
    http://www.mecabricks.com/docs/forum/tr_texture.png

  2. Replace the material of the part by the following:
    http://www.mecabricks.com/docs/forum/tr_node.jpg

Add a Transparent custom shader and set:

  • Color hex value as per the value found in the colours.py script
  • Scale value to match the Solid shader

Add a Mix Shader node

  • Link the transparent shader to the first Shader input and the solid shader to the second Shader input.
  • Link Alpha output of Image Texture to the Fac input
2 réponses · Page 1 sur 1

I was wondering why the visor of the helmet in my last render was opaque, but after reading this tutorial, I guess I know why.

Before :
https://farm2.staticflickr.com/1595/25206038166_aa55922f9d_c.jpg

And here's the "fixed" helmet :
http://i84.servimg.com/u/f84/11/38/62/55/flynn10.jpg

😄

Avatar de Scrubs
Administrateur

Yep, I saw that on the image you posted on flickr. I wasn't too sure if it was on purpose or not 😛

Publicité
2 participants
Avatar de Scrubs
Avatar de Leewan

LEGO, le logo LEGO, la minifigurine et les configurations des briques et tenons sont des marques déposées de LEGO Group of Companies. ©2024 The LEGO Group.

Mecabricks, le logo Mecabricks et tout le contenu non couvert par les droits d'auteur du groupe LEGO sont, sauf indication contraire, ©2011-2024 Mecabricks.