1
$\begingroup$

couldn't find tip on this. Maybe I was using wrong search terms.

I want to create "cartoon glasses". By that, I mean, a plane that is completely transparent, has no refraction effect, but we can see it's glare/highlights only.

When I apply "transparent" the highlights also lose their strength. If I use glass in Cycles, it distorts the pass-through light realistically (I just want it straight though, like transparent/alpha). If I use Evee --- well, Evee's a mess when it comes to glass. But I want the glare to move/live in the scene, not just be an image PNG pasted over it.

I'm still pretty basic in my Blender. enter image description here

$\endgroup$

1 Answer 1

1
$\begingroup$

Using Eevee, you can use the "shader to RGB" node from a "glass" node. "shader to RGB" is like a prerendering from with we can get colors.

enter image description here

From it, we can use 2 color ramps: the first to control the light reflexion intensity and color and the other to control the level of transparency.

enter image description here

Color is given directly to the Principled and its alpha value is given by the intensity of the light.

Make sure to set the object transparent (alpha blend) in Eevee material settings.

Alternatively, you can also keep the original environment/light colors with this setting (look nicer, I think, but...):

enter image description here

$\endgroup$
2
  • $\begingroup$ works as promised. Built it in Evee, switched to Cycles, & it still worked but I'm working in Evee so it didn't really matter. I was just curious to see if it still worked. I tried swapping out the Glass for a PBDSF & it didn't work right when I turned on transmission & high reflection. Curious. Thanks! $\endgroup$
    – Wes Lee
    Commented Sep 16, 2020 at 23:48
  • $\begingroup$ The "shader to rgb" node is not available to add in Cycles (but switching does not delete it) as it shouldn't work.. $\endgroup$
    – lemon
    Commented Sep 17, 2020 at 6:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .