# Refractive light and abstract colour animations

**URL:** <https://blenderartists.org/t/refractive-light-and-abstract-colour-animations/1204100>\
**Category:** Materials and Textures\
**Tags:** motion-graphics, materials, texturing, render\
**Created:** [January 28, 2020, 8:35pm UTC](https://blenderartists.org/t/refractive-light-and-abstract-colour-animations/1204100 "2020-01-28T20:35:52Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![punking\_pie](https://blenderartists.org/letter_avatar_proxy/v4/letter/p/f4b2a3/32.png) [@punking\_pie](https://blenderartists.org/u/punking_pie)\
**Post date:** [January 28, 2020, 8:35pm UTC](https://blenderartists.org/t/refractive-light-and-abstract-colour-animations/1204100/1 "2020-01-28T20:35:52Z")

</div>

I’m quite new to Blender but dabbled in modelling over the past couple of years. I’m wanting to really boost my material, lighting, shading and rendering skills by creating some cool refractive glassy visuals. Ideally they’d be animated to fully show off the colours / light moving through the material, so found some references of what I’m after. This is an awesome photographs by a guy called Shane Griffin and also two links to motion graphics by a UK agency called Studio Treble (kudos to them both):

 ![Dark_chroma_004_print_24x24](https://blenderartists.org/uploads/default/original/4X/c/9/e/c9ea8a0130279b7aef1f7049389e048b3dad34f4.jpeg)

[https://studiotreble.ams3.digitaloceanspaces.com/videos/AHEAD\_03.mp4](https://studiotreble.ams3.digitaloceanspaces.com/videos/AHEAD_03.mp4)

[https://studiotreble.ams3.digitaloceanspaces.com/videos/AHEAD\_01.mp4](https://studiotreble.ams3.digitaloceanspaces.com/videos/AHEAD_01.mp4)

Throwing myself in at the deep end with this, how should I go about creating these sorts of visuals in Blender?

---

<div class="post-metadata">

**Author:** ![moony](https://blenderartists.org/letter_avatar_proxy/v4/letter/m/a6a055/32.png) [@moony](https://blenderartists.org/u/moony)\
**Post date:** [January 30, 2020, 10:23am UTC](https://blenderartists.org/t/refractive-light-and-abstract-colour-animations/1204100/2 "2020-01-30T10:23:47Z")

</div>

You’ll need some suitable materials first - perhaps take a look at the threads below.

After that - it’ll be all about how you set up your lighting and background.

> [@Will cycles get dispersion effects?](https://blenderartists.org/t/will-cycles-get-dispersion-effects/700843/10):
>
> You can achieve dispersion a number of ways in cycles. The first and easiest method is to add three glass shaders. Each glass shader is set to either R, G or B - and the IOR is set differently for each one. This method is quite slow because you are using multiple glass shaders. The second method is to add a procedural texture - then drive the RGB and IOR values through it. If you make the texture size small enough - you’ll get the dispersion effect without actually seeing the texture. I al…

> [@A complex approach - Iridescence in cycles](https://blenderartists.org/t/a-complex-approach-iridescence-in-cycles/613211):
>
> I was wandering today on how to make a more accurate iridescence effect. I know that using the layer weight and a rainbow ramp can produce some acceptable look, but not quite accurate. The big problem, is that cycles will color all the scattered rays with the same color at the point being rendered and not each ray by their own direction. So i was thinking how to overcome this, and have something more real. And then i remembered that the samples for each pixel don’t hit everytime in the same pr…

> [@Cycles PBR thin film interference, iridescence and metals](https://blenderartists.org/t/update-v1-6-cycles-pbr-thin-film-interference-and-metals/672094):
>
> UPDATE 2.0: Updated for my [presentation](https://m.youtube.com/watch?v=dtXl9Waz5-w) at the Blender Conference 2022 I updated the OSL script to use the current language features and made [GPU-compatible nodes](https://1drv.ms/u/s!As4YW75gSl86i81zC80TTIyatxNkPQ) from it with [OSLPy](https://github.com/LazyDodo/oslpy). The output is fully benchmarked against optical models I used as a scientific researcher in nanophotonics. Get the Node group (Blender 3.3) plus all materials shown below here: OSL Scripts used to generate the node: Note: you’ll need a [modified OSLPy](https://1drv.ms/u/s!As4YW75gSl86i8wpygr4eY2QyYqwgQ?e=vtnYZW) in order to generate the node groups. This post will be upda…

> [@Micro/angle dependent Roughness & Iridescence](https://blenderartists.org/t/micro-angle-dependent-roughness-iridescence/691900/129):
>
> How about this as a first approximation. I created a colour ramp based on figure 6 in the first paper linked above. There are three inputs. Layer weight - sets how steep the falloff occurs. Thickness (nm) - is the thickness of the iridescent layer in nm (values between 0 and 1000 are valid). This setting essentially determines where on the colour ramp you are. Variation - this determines how much the apparent thickness changes with viewing angle (essentially it’s how wide a slice of the co…

---

<div class="post-metadata">

**Author:** ![punking\_pie](https://blenderartists.org/letter_avatar_proxy/v4/letter/p/f4b2a3/32.png) [@punking\_pie](https://blenderartists.org/u/punking_pie)\
**Post date:** [February 4, 2020, 8:07am UTC](https://blenderartists.org/t/refractive-light-and-abstract-colour-animations/1204100/3 "2020-02-04T08:07:48Z")

</div>

Super useful, I really appreciate it!

---

<div class="post-metadata">

**Author:** ![mielenyvin](https://blenderartists.org/user_avatar/blenderartists.org/mielenyvin/32/861441_2.png) [@mielenyvin](https://blenderartists.org/u/mielenyvin)\
**Post date:** [March 11, 2021, 2:06pm UTC](https://blenderartists.org/t/refractive-light-and-abstract-colour-animations/1204100/4 "2021-03-11T14:06:55Z")

</div>

Dear Robert, have you found the way, how to make this abstract shapes?

---

<div class="post-metadata">

**Author:** ![fanrauds](https://blenderartists.org/letter_avatar_proxy/v4/letter/f/3ec8ea/32.png) [@fanrauds](https://blenderartists.org/u/fanrauds)\
**Post date:** [August 15, 2022, 6:53pm UTC](https://blenderartists.org/t/refractive-light-and-abstract-colour-animations/1204100/5 "2022-08-15T18:53:37Z")

</div>

Robert, can I ask if you’ve been successful with combining a material like the reference pictures you attached? If so, it would come in real handy for me & my project now, to have a few tips… Let me know! and have a great week.

---

<div class="post-metadata">

**Author:** ![AlphaChannel](https://blenderartists.org/user_avatar/blenderartists.org/alphachannel/32/1432111_2.png) [@AlphaChannel](https://blenderartists.org/u/AlphaChannel)\
**Post date:** [August 15, 2022, 8:07pm UTC](https://blenderartists.org/t/refractive-light-and-abstract-colour-animations/1204100/6 "2022-08-15T20:07:12Z")

</div>

Heres one you can play with, made from bits I learned from this thread, but will get you what yr ,looking for…  
[dispersion material.zip](https://blenderartists.org/uploads/short-url/pkzVgXFul6uWaDKBaBV96ZohNS9.zip) (746.2 KB)

Hope that helps.

---

<div class="post-metadata">

**Author:** ![fanrauds](https://blenderartists.org/letter_avatar_proxy/v4/letter/f/3ec8ea/32.png) [@fanrauds](https://blenderartists.org/u/fanrauds)\
**Post date:** [August 20, 2022, 5:51am UTC](https://blenderartists.org/t/refractive-light-and-abstract-colour-animations/1204100/7 "2022-08-20T05:51:36Z")

</div>

wow thank you!! this made my day & saved project. have a great life! ( meaning it in all seriousness)

---

<div class="post-metadata">

**Author:** ![seemon](https://blenderartists.org/user_avatar/blenderartists.org/seemon/32/688974_2.png) [@seemon](https://blenderartists.org/u/seemon)\
**Post date:** [October 14, 2022, 7:18am UTC](https://blenderartists.org/t/refractive-light-and-abstract-colour-animations/1204100/8 "2022-10-14T07:18:01Z")

</div>

hi @AlphaChannel  
Can you help to advise how to change this shader to have similar effect as below … color glass see through ?

![image](https://blenderartists.org/uploads/default/original/4X/6/d/0/6d0b027b10bb670827f3229934b5f4654591615c.jpeg)

---

<div class="post-metadata">

**Author:** ![AlphaChannel](https://blenderartists.org/user_avatar/blenderartists.org/alphachannel/32/1432111_2.png) [@AlphaChannel](https://blenderartists.org/u/AlphaChannel)\
**Post date:** [October 14, 2022, 8:43am UTC](https://blenderartists.org/t/refractive-light-and-abstract-colour-animations/1204100/9 "2022-10-14T08:43:41Z")

</div>

![image](https://blenderartists.org/uploads/default/original/4X/d/4/4/d44c38c8ee5f7e5e6e3321ef9a0a61a0c1b1f6d8.jpeg)  
 ![image](https://blenderartists.org/uploads/default/original/4X/7/7/c/77c8416e1149c5b5836dc42dc4099a94dd07960d.png)

Something like this?

Your image is small.

Hope that helps.  
[dispersion material.zip](https://blenderartists.org/uploads/short-url/gdz3YcBNAMV2LQEcIRy9l7XZlxc.zip) (785.6 KB)

---

<div class="post-metadata">

**Author:** ![seemon](https://blenderartists.org/user_avatar/blenderartists.org/seemon/32/688974_2.png) [@seemon](https://blenderartists.org/u/seemon)\
**Post date:** [October 14, 2022, 10:28pm UTC](https://blenderartists.org/t/refractive-light-and-abstract-colour-animations/1204100/10 "2022-10-14T22:28:23Z")

</div>

Thanks … however appears u using a node not found in Blender 3.3 (stable release).  
Are you using another version … maybe due to this, the results I got not the same as yours ?  
Looking at your previous version, I think this node is Mix RGB? but your diagram appears to be a different node. Anyway I tried with Mix RGB, the sphere results isn’t same as yours which I think will be what I needed.

 ![image](https://blenderartists.org/uploads/default/original/4X/8/f/4/8f4357edcdd50a9e51047a99ad7c22a3bf7e7a3c.jpeg)

---

<div class="post-metadata">

**Author:** ![seemon](https://blenderartists.org/user_avatar/blenderartists.org/seemon/32/688974_2.png) [@seemon](https://blenderartists.org/u/seemon)\
**Post date:** [October 15, 2022, 12:52am UTC](https://blenderartists.org/t/refractive-light-and-abstract-colour-animations/1204100/11 "2022-10-15T00:52:51Z")

</div>

Hi @AlphaChannel  
I change the fac value = 0 on the mix RGB and try to see if I can get “colored” ray effects with cycle. Seems ok … except the sphere still not getting the results you have …

 ![image](https://blenderartists.org/uploads/default/original/4X/8/9/e/89e26f9cd27b64f2e412cf50ca3baeffc39f35b2.jpeg)

---

<div class="post-metadata">

**Author:** ![AlphaChannel](https://blenderartists.org/user_avatar/blenderartists.org/alphachannel/32/1432111_2.png) [@AlphaChannel](https://blenderartists.org/u/AlphaChannel)\
**Post date:** [October 15, 2022, 7:59am UTC](https://blenderartists.org/t/refractive-light-and-abstract-colour-animations/1204100/12 "2022-10-15T07:59:39Z")

</div>

> [@seemon](#):
>
> I think this node is Mix RGB

Oh, hi yes, I used Blender 3.4 Mix node has changed to a general mix node now.

On the Sphere it looks like the layer weight fresnel needs to be less, this is just to put the effect at glancing (low) angles. So just at the edges of the sphere.

I only checking in Eevee as my gpu is not too good but should be good for cycles.

---

<div class="post-metadata">

**Author:** ![seemon](https://blenderartists.org/user_avatar/blenderartists.org/seemon/32/688974_2.png) [@seemon](https://blenderartists.org/u/seemon)\
**Post date:** [October 15, 2022, 9:54am UTC](https://blenderartists.org/t/refractive-light-and-abstract-colour-animations/1204100/13 "2022-10-15T09:54:03Z")

</div>

Thanks … so that’s what Fresnel is about. I have to bring it down to Blend=0.18 to get the effect I needed … maybe lower.  
Any try to apply to this glass garden … does get the effect somewhat. I think need more fine tuning on the lighting setup to simulate the one in the diagram I shown earlier.

 ![image](https://blenderartists.org/uploads/default/original/4X/7/c/4/7c4ab6e876697187f7a79f93c6381fd047e81dbb.jpeg)

---

<div class="post-metadata">

**Author:** ![AlphaChannel](https://blenderartists.org/user_avatar/blenderartists.org/alphachannel/32/1432111_2.png) [@AlphaChannel](https://blenderartists.org/u/AlphaChannel)\
**Post date:** [October 15, 2022, 10:10am UTC](https://blenderartists.org/t/refractive-light-and-abstract-colour-animations/1204100/14 "2022-10-15T10:10:05Z")

</div>

Its looking good.

You can substitute that Voronoi node and add something more like yr ref.  
It was so small I can hardly see it.

layer wieght and fresnel are handy nodes.

---

<div class="post-metadata">

**Author:** ![seemon](https://blenderartists.org/user_avatar/blenderartists.org/seemon/32/688974_2.png) [@seemon](https://blenderartists.org/u/seemon)\
**Post date:** [October 18, 2022, 11:15pm UTC](https://blenderartists.org/t/refractive-light-and-abstract-colour-animations/1204100/15 "2022-10-18T23:15:02Z")

</div>

Hi @AlphaChannel,  
I like to seek help again as I tried so many times still fail to get the effect … and also tried out glass dispersion material from this site, the results is below. Sending a bigger picture of the |rainbow room" that I try to emulate. Appreciate so further pointers

 ![image](https://blenderartists.org/uploads/default/original/4X/e/6/0/e60d16d1065642d7f6a2d3ea394cc72f374884e0.jpeg)

Results of using “Dispersion Glass” from this site still not getting it (see my best results not even close to the Rainbow Room picture above ☹

> **[Gumroad](https://app.gumroad.com/confirm?destination=download_page&id=34c9f1ff31577b904f65f5dfc1e79427)**

my best results so far … sadly.  
Left top is a prism with “dispersion glass” material

 ![image](https://blenderartists.org/uploads/default/original/4X/c/5/8/c58c35f06288c3e61e8b8b9be4f4b29bbe8c7fc1.jpeg)

Left bottom sphere is with “Thin Film” material which is here to illustrate I had tried that material too but results is still far from the picture of Rainbow room

 ![image](https://blenderartists.org/uploads/default/original/4X/7/c/8/7c8e3968e0b334f9e98745ca9450eb911e280ce2.jpeg)
