give color to caustics

If I want give for a different material a colored caustics how can I do? Cuz if i put a color ramp i loose the luminosity I gained with math node

  • Kent Trammell replied

    I'm trying to understand what you're trying to accomplish. Can you take a screenshot of your node network, especially the math -> color ramp nodes?

  • Marco Modena(mamo) replied

  • Marco Modena(mamo) replied

  • Marco Modena(mamo) replied

    sorry shared by mistake same image as you see the caustics are white my question is: How can I have green caustics?

  • Kent Trammell replied

    Ok I see what you're trying to do. After your color ramp --> multiply nodes, add a Mix RGB node and plug your multiply output into the factor of the new Mix RGB, then Mix RGB into your Transparent BSDF.

    From there you can tweak the color swatches of your Mix RGB to get your great caustics. I'm not sure the order, but I think one should be white and one should be the green color you're after.

  • Marco Modena(mamo) replied

    If i put it in fac as I supposed it was right too It isn't working Instead it works if I set 1 as fac and I connect multiply output to color 1

    I attach to you two images

  • Kent Trammell replied

    In recreating your setup, here's how to get the colored fake caustics with Mix RGB node:

    BEFORE:

    AFTER:

  • Marco Modena(mamo) replied

    Maybe I'm wrong but in this way you loose a lot of brightness of the caustics compared to the white caustics.

    Sorry to bother you

    and thanks for helping me

  • Kent Trammell replied

    mamo Yes you're right, the brightness is dialed down for some reason. I'm not sure why - It shouldn't be clamping given there's a clamp option that's disabled. But if you click on your color swatch, go to HSV, and bump the V value above 1 it will brighten up.

  • Marco Modena(mamo) replied

    It doesn't work and I think the reason is V can't be superior to 1 instead caustics can because is an emissive value

  • Kent Trammell replied

    I'm able to increase the color value above 1.... 🤔

  • Kent Trammell replied

    Which version of Blender are you using?

  • Marco Modena(mamo) replied

    2.79 fracture modifier branch

  • Kent Trammell replied

    I've never used the the fracture modifier branch so maybe there's something different about the color value in that version. In trunk 2.79 you should be able to increase the color swatch's value above 1.