Artistic interface law

Description

../../../_images/artistic.jpg

Specular material with a glass bulk medium and an artistic law, with r0=0.04, brownish transmission color, and bluish reflection color

Interface law The Classic interface law computes reflection and transmission coefficients from a simple model adjustable with non physical, artistic factors.

Note

This interface law was renamed from “classic” to “artistic” after Ocean 2015 beta3

Children Nodes

Filter shader reflectioncolor

The reflection spectrum, usually set to RGB spectrum for artistic use

Filter shader transmissioncolor

The transmission spectrum, usually set to RGB spectrum for artistic use

Parameters

name

type

description

reflection

real

The amount of reflection at grazing incidence. Default is 1

transmission

real

The global amount of transmission. Default is 1

r0

real

The reflection coefficient at normal incidence. Default is 0.04 (similar to glass)

Ocean XML 3.0 example

<intlaw type="classic" name="intlaw" r0="0.04" reflection="1" transmission="1">
     <spectrum type="rgb" name="reflectioncolor" rgb="0.9 0.84 0.77" gamma="1"/>
     <spectrum type="rgb" name="transmissioncolor" rgb="1 0.9 1" gamma="1"/>
</intlaw>