Home Creators Posts Import Register Favorites Logout

Content

With special guest Nathan Vegdahl! Here's a link to the shimmering harbor assets I was using. Also related: Refractions and Heat ShimmersAnd the OSL series from CG Matter! It was absolutely fantastic (even if it turns out OSL isn't exactly what I thought it was) ALSO ALSO- I was wrong in the video, it's not a special build of blender (I thought I had to use one at first)- it's just Blender 4.0 alpha version, which includes the viewport compositing! 

Files

Transparent Shaders and Experiments

With special guest Nathan Vegdahl! Here's a link to the shimmering harbor assets I was using. https://www.patreon.com/posts/asset-night-35647509 Also related: Refractions and Heat Shimmers https://www.patreon.com/posts/refraction-tut-57007748

Comments

alex

check dm!// Dope guy

Ahmed Ali

New video! Woho!

Corza

I've noticed when you set emission to negative values it removes or absorbs light. So if you put 2 lights in a scene and set one to positive and one to negative, the negative one will remove or nullify light from the positive one

Alex Ezorsky

I cannot express how wonderful and probably parasocial I feel when someone so popular and talented as yourself wings it and is just genuine for the fun of it. I enjoyed this thoroughly. It was a vicarious catharsis of championing creative challenges. It had all the woes and trials and triumphs turned woes and companionship and yeah, I understood 10% of the technical but felt %100 of the yay we're doing something

James Ballard

If it's wrong I don't want to be right.

Zeke Faust

For what it's worth, at least you can create the blend modes in Eevee using the Shader to RGB node. Just use a 1.0 IOR refraction shader and run it through a Shader to RGB, then you have the output of whatever's behind the object which you can manipulate freely! You have to set the material to screen space refraction and enable it in the render settings as well. Of course, since we're all using fancy smooth display transforms nowadays, there's hardly a use for screen since a proper output transform is an actually accurate representation of the very thing the Screen mode was trying to solve in the first place when it was invented. Another random thing about inversion, if you're using it as a creative effect and not one step in a bigger operation, it actually works better if you convert it to display gamma or log first. Log more evenly distributes the brightness across the bits in your image, whereas linear you might see much smaller perceptual effects in the highlights depending on the operation. This is why when you invert images in blender they come out looking visually brighter, even if it's a 50% grayish image being input and the overall brightness *should* look the same! A good rule of thumb is, if it's a non-photometric, nonphysical effect (like inversion, sharpening, or fades and dissolves), process it in log. If it's a physical effect, process it in linear.

Daniel defdac Larsson

Holy crap that thumbnail is so pretty. Reminds me of the art of Abiodun Olaku @abiodunolakuart

Nikita

I'm one of those people who insisted that Ian should do more videos like this. And I'm right. I enjoyed this video. I'd enjoy streams of Ian just working without any commentary at all. Even more I'd enjoy videos of Ian just working and babbling incoherently.

Ian Hubert

AH! I'd never seen his stuff before, I really like it!

Maxime Gerardin

But yes the pain is about making the screen blend mode in there also

Noneya D Biznazz

I think this is more valuable than a straight up "tutorial"... getting to see the experimentation shows us how to tackle problems that we can't find an existing solution to

Workbench

1 - x to invert is always useful. Remember you can also add negatives if you can't subtract, but it seemed like you might not be able to do that either. Either way, fun exploration!

Waffels371

"This is not useful for a single solitary thing ever" I almost broke a rib from laughter, 10/10 should be made into a shirt IMO.

Mark Phillips

In Unity's Shader Graph it has a OneMinus node for this very use. :D I've been battling with this same issue in Unity for the past three years. My creative director wanted me to basically recreate Photoshop blend modes in Unity but with live webcams and multiple layers of video. I achieved it (finally!) this year. I created a single (massive) shader that would take the output from a camera and apply a blend mode to it then pass that image onto the next layer.

Joel Godin

For thin glass change the IOR to 1.0 for more realistic diffraction. It also reduces your render time.

Tyler Adams

Yeah that was perfectly entertaining and informative! See, no reason to go short on the run time I'd watch for much longer, through it all in :)

psyda

Oh wow! Nathan! I met him at the blender conference and had a few good conversations about animation work. I recognize that red chair from the animation room in the Blender Hq lmao. If you get a chance. Ask him if he tried the Canadian whiskey! --Travis

Robin Ruud

Super handy trick! I never thought to use transparent shaders like this, but it really works! I love the ways you bring traditionally comp-level stuff to the 3D workspace.

Robin Ruud

By the way, Ian. When you showed the darkening bit to blend your video projection into the environment, it got me thinking about the ambient occlusion node. Could you multiply that over the video texture to automatically get some darkening against other 3D geometry?

Cole Smith

Only just watching this now. You can use vectors into color inputs to set negative-valued colors on shader nodes. A vector Add with (-1,-1,-1) + (0,0,0) going into a Transparent, which is then being Add Shadered with a white Emission will invert the color of what is behind it. Edit: this does not solve the screen problem in the shader since you can't multiply shader outputs, but it is possible to make linear combinations of shaded information!

Stephan

see, the process was good. Thanks Ian for extending the video. it is actually quite helpful to see people work through problems. and the way you caught it with commentary and your discussion with Nathan helps to bring everyone along and feel like they're in the learning process, which is far more enjoyable when it has a social/human element. it makes me want to go mess around and tell peers about the weird tests and results we make.

R K

Great tut! I was working on a scene lately were I wanted the main lightsources to be these office-type lamps, with a rough plastic cover infront. I did quite some testing with the material and light interaction - this is so far the most performance (and visual accuracy) I could get out: Using a princibled BSDF. Setting transmission to 1 and roughness to your liking. Set a bit of emission with a gradient that simulates the light falloff on each sides. (this is purely visual choice, but helps to sell the effect alot!) Than stick an area light inside the panel (this being the lamp). You can use nodes on lights. Do that by ticking the "use nodes" box in the shader editor, with the lightsource selected. It will create an emission shader for you which you can tweak. Take the same gradient from the princibles BSDF. I tried it with disabling the shadow-checkbox in visibility settings. It didnt change the performance. I tried plugging the princibled into a mix shader with a transparent shader, as the factor use the "shadow ray" from light-path node, it didnt change the performance. So it seems princibled is the way to go, for this type of situation. There is probably some weird magic going on in the background. Tested both in a greyish and a dark world light situation. Looks great, performs great! EDIT: Some extra notes Introducing any kind of normal map or roughness will increase render time. If you need to do that make sure to also dissable "diffuse" and "transmission" in the visibility settings. Increase the emission strength of the princibled to make it look as it was before. I am running that setup myself now.