Attempting Silkscreen overlay in Shader

Box8068_31c338ee4bBox8068_31c338ee4b Posts: 292
edited February 2013 in Carrara Discussion

Good evening everybody , Hope you are all staying dry.
What I am trying to do is add silk-screening to a object without changing the basic shader setting so It matches the rest of the machine.
I have experience using PNG texture maps ( like the meter in the attached photo)

I have created a silkscreen for the faceplate of the machine. White letters with a transparent background png.

I would like to layer that image into my current shader for the faceplate of the machine.

( So the current texture and color matches the rest of the machine but has the lettering added to a copy of the main shader)
I've read the manual ( like page 629 where is says parametric mapping is like adding a decal)
I like this idea but I've read the manual, and experimented, and I'm just missing something.
Any simple suggestions?
Thanks!
8068

Machine_test.jpg
1920 x 1080 - 230K
Post edited by Box8068_31c338ee4b on

Comments

  • WendyLuvsCatzWendyLuvsCatz Posts: 38,199
    edited December 1969

    I just replace the texture map channel with add or overlay and put my other map in the second one
    or
    to control it use a mixer operator with a value slider of 0 to 100

  • wetcircuitwetcircuit Posts: 0
    edited February 2013

    Use the Decal tools in the Shader Room to draw the decal area directly onto the model in the 3D Preview.

    This will alter your shader to a LAYERS LIST shader, and you can add your silkscreen there.

    Screen_Shot_2013-02-24_at_12.21_.07_AM_.png
    263 x 408 - 23K
    Screen_Shot_2013-02-24_at_12.17_.32_AM_.png
    253 x 144 - 26K
    Post edited by wetcircuit on
  • Box8068_31c338ee4bBox8068_31c338ee4b Posts: 292
    edited December 1969

    Holly
    First Congrats on having had your piece at the Chelsea Art Museum.!
    I almost have the deal working thanks.
    The problem I have is the same I had trying Add, or Overlay. Either the surface is transparent due to the transparency or The color layer of the shader dominates and I can't see the Silkscreen PNG layer. When I've tried a mixer similar a bled of the layers looks like I have alpha set at 50% on the color layer.
    Still open to suggestions
    Thanks
    8068

    Decal_Top.jpg
    1402 x 876 - 296K
    Alpha_Decal_bottom.jpg
    1402 x 876 - 308K
  • wetcircuitwetcircuit Posts: 0
    edited December 1969

    8068 said:

    I almost have the deal working thanks.
    The problem I have is the same I had trying Add, or Overlay. Either the surface is transparent due to the transparency or The color layer of the shader dominates and I can't see the Silkscreen PNG layer. When I've tried a mixer similar a bled of the layers looks like I have alpha set at 50% on the color layer.
    Still open to suggestions
    Thanks
    8068

    The surface is transparent because of the transparency...

    You probably need to work out the entire shader within the second shader slot - OPTION+DRAG your full shader down to replace the SINGLE CHANNEL tree. Now both shaders will contain the "surface"... Now you can work in your silkscreen in the rectangle layer's Multi Channel Shader...

    Hope that makes sense...

  • evilproducerevilproducer Posts: 9,050
    edited December 1969

    Is it possible to make a shading domain in the shape that you want?

  • dot_batdot_bat Posts: 373
    edited February 2013

    you might try layer multilayer element and the multi layer in the shader. worked well in this example. I couldnt find any documentation for those aspects. i assume it works like photoshop layers. i saved the png's with a transparent BKGD set the map to color and alpha

    yes im using 8.5

    Screen_shot_1.png
    100 x 410 - 14K
    Screen_shot_2013-02-24_at_12.19_.41_PM_.png
    232 x 483 - 69K
    Post edited by dot_bat on
  • Box8068_31c338ee4bBox8068_31c338ee4b Posts: 292
    edited December 1969

    Dotbat
    Your option looks like what I would like to do. I'm Carrara Pro 8.1. Are you running 8.5?
    I can't find the option Multi-Layer option. Pretty sure I looked through all the dropdown menus.
    I'll keep experimenting with all the above suggestions. I thought I had it working once, but I can't
    seem to find the right combination.
    Thanks everybody.
    8068

  • RoguePilotRoguePilot Posts: 239
    edited December 1969

    Hi,
    You need to extract the alpha channel from the png in photoshop (or similar) and convert it into a greyscale image that Carrara can use as a blender/mask.
    Also Make sure that you have 'Colour only' checked on the texture options otherwise you can end up with a transparent surface where the alpha is zero (a useful trick for some things but not in this case)

  • Box8068_31c338ee4bBox8068_31c338ee4b Posts: 292
    edited December 1969

    RoguePilot
    Thanks, that seems to be the trick. I did the decal and used" Color only" in the texture map that was the big difference.
    I tested a png with no alpha and that would work as well, the only problem is my text is white, so that seemed to conflict with " white is invisible".
    I can get back to work now.
    Great! Thanks so much
    8068

Sign In or Register to comment.