Refraction

indigoextras.effectmaterials.Refraction
object Refraction

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Refraction.type

Members list

Value members

Concrete methods

def blending(distance: Double): Blending

Replicates Indigo's original refraction/distortion layer behaviour

Replicates Indigo's original refraction/distortion layer behaviour

The problem with this method is that we have no "entity blend shader" capability to allow use to control how individual entities blend onto the layer below. As a result we have to use the same sort of mechanism we use for lighting to combine the entities - but this results in a weaker effect than we would like.

Value parameters

distance

Max distance in pixels

Attributes