Author Topic: Dispersion shader  (Read 31357 times)

2013-07-01, 11:44:13

cecofuli

  • Active Users
  • **
  • Posts: 1578
    • View Profile
    • www.francescolegrenzi.com
As in the title, a dispersion features for realistic diamond and glasses. Thanks!

« Last Edit: 2013-07-01, 15:42:48 by cecofuli »

2013-07-01, 16:12:22
Reply #1

cecofuli

  • Active Users
  • **
  • Posts: 1578
    • View Profile
    • www.francescolegrenzi.com

2013-07-01, 16:53:00
Reply #2

APrather

  • Active Users
  • **
  • Posts: 18
    • View Profile
It was asked before http://forum.corona-renderer.com/index.php/topic,311.0.html  B

BTW Nice Vray dispersion you got there.

2013-07-01, 17:05:53
Reply #3

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13657
  • Marcin
    • View Profile
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2013-07-01, 17:45:20
Reply #4

cecofuli

  • Active Users
  • **
  • Posts: 1578
    • View Profile
    • www.francescolegrenzi.com

2013-07-01, 17:52:15
Reply #5

cecofuli

  • Active Users
  • **
  • Posts: 1578
    • View Profile
    • www.francescolegrenzi.com
This is my Corona render. The diamond looks looks like a normal glass :/

« Last Edit: 2013-07-01, 17:53:58 by cecofuli »

2013-07-01, 18:18:11
Reply #6

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13657
  • Marcin
    • View Profile
Basically it's done like your vray fake. Here are the instructions. It's dirty and ugly but more or less does its job.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2013-07-01, 18:41:13
Reply #7

cecofuli

  • Active Users
  • **
  • Posts: 1578
    • View Profile
    • www.francescolegrenzi.com
Ok I tried, but the diamond becomes dark with this shader.
I think we have to wait Ondra...  =(

2013-07-01, 19:01:56
Reply #8

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13657
  • Marcin
    • View Profile
Yeah, the colours should mix in a different way. And something is wrong with the blend material.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2013-07-01, 19:15:21
Reply #9

cecofuli

  • Active Users
  • **
  • Posts: 1578
    • View Profile
    • www.francescolegrenzi.com
We have to wait a new CoronaBlendMtl ;-)  and/or dispersion option in the CoronaMtl.

2013-07-04, 02:26:51
Reply #10

Chakib

  • Active Users
  • **
  • Posts: 787
  • Corona Omnomnomer !
    • View Profile
i hope we can see it soon cause the glass in corona is just amazing even without caustics...

2013-07-04, 13:49:11
Reply #11

lacilaci

  • Active Users
  • **
  • Posts: 749
    • View Profile
Well dispersion was mentioned before. If I remember correctly, Ondra said, it will be done. But right now it's not a top priority to do... Which is understandable i think.

2013-07-04, 14:17:07
Reply #12

cecofuli

  • Active Users
  • **
  • Posts: 1578
    • View Profile
    • www.francescolegrenzi.com
Yes, but, for example, with VRay was possible create a "fake dispersion". And, for some project, it's enough.
I have to use VRay for our next project cause Corona doesn't support dispersion. It's important when you are working with jewelry ;-)


2014-03-18, 01:59:18
Reply #14

borisquezadaa

  • Active Users
  • **
  • Posts: 614
    • View Profile
Playing with diamonds...

i just came up with this aproach to fake dispersion:

Diamond has a ior of 2.418 and a dispersion of 0.044 (wikipedia) XD.

So i created 3 materials one with IOR 2.374, one with IOR 2.418 and one with IOR 2.462

Apply first material (ior 2.374) and render, saving only the red channel (in post tab).
Then apply second material (ior 2.418) and render only saving green channel.
Finally apply third material (IOR 2.462) and render only saving blue channel.

Load that 3 images in photoshop seting layer as addittive and get nice FAKE dispersion.

Pretty nice trick. And Eureka moment.
What i do with Corona My Corona post of random stuff rendering
WARNING: English.dll still loading...