User Tools

Site Tools


gamedev:textureproperties:refraction_distort_strength

This is an old revision of the document!


Summary

Texture Property Namerefraction.distort.strength
Excepted Data Source1 component value
Data Rangeany value
Default Value0.01
Graphic ModuleDefines the strength of the refraction distort effect.
Physics ModuleNo effect
Audio ModuleNo effect

Graphic Module

The refraction.distort.strength texture property is linked to the refraction.distort texture property. It defines the strength of the refraction distortion. The displacement is measured relative to the size of the render window.

The source is typically a single component value representing the displacement percentage relative to the render window. 0.1 for example would be a maximum displacement of 10% of the render window width. Negative values are possible to invert the effect.

The default value for this texture property is 0.01 (1% of render window).

Physics Module

This texture property does not effect Physics Modules.

Audio Module

This texture property does not effect Audio Modules.

Examples

( TODO: example image )

You could leave a comment if you were logged in.
gamedev/textureproperties/refraction_distort_strength.1354385756.txt.gz · Last modified: 2012/12/01 18:15 by dragonlord