| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| gamedev:textureproperties:refraction_distort_strength [2012/12/03 23:29] – dragonlord | gamedev:textureproperties:refraction_distort_strength [2019/05/24 23:43] (current) – ↷ Links adapted because of a move operation dragonlord |
|---|
| | {{tag>graphic skin texture transparency}} |
| <WRAP youarehere> | <WRAP youarehere> |
| [[:start|Start Page]] >> [[gamedev:main|Game Development with the Drag[en]gine]] >> [[gamedev:skinproperties|Skin Texture Properties]] >> [[gamedev:texturepropertylist|Texture Property Database]] >> **refraction.distort.strength** | [[:start|Start Page]] >> [[:gamedev|Game Development with the Drag[en]gine]] >> [[gamedev:skinproperties|Skin Texture Properties]] >> [[gamedev:texturepropertylist|Texture Property Database]] >> **refraction.distort.strength** |
| </WRAP> | </WRAP> |
| |
| <WRAP boxheader> | ====== Skin Texture Property: refraction.distort.strength ====== |
| ====== Summary ====== | |
| </WRAP> | Defines the strength of the refraction distort effect. |
| <WRAP boxcontent> | |
| |Texture Property Name|refraction.distort.strength| | |
| |Description|Defines the strength of the refraction distort effect| | |
| |Excepted Data Source|1 component value| | |Excepted Data Source|1 component value| |
| |Data Range|any value| | |Data Range|any value| |
| |Affected Modules|Graphic| | |Affected Modules|Graphic| |
| |Linked Properties|[[gamedev:textureproperties:refraction_distort|refraction.distort]]| | |Linked Properties|[[gamedev:textureproperties:refraction_distort|refraction.distort]]| |
| </WRAP> | |
| |
| ====== Description ====== | ====== Description ====== |
| | |
| The **refraction.distort.strength** texture property is linked to the **[[gamedev:textureproperties:refraction_distort|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 **refraction.distort.strength** texture property is linked to the **[[gamedev:textureproperties:refraction_distort|refraction.distort]]** texture property. It defines the strength of the refraction distortion. The displacement is measured relative to the size of the render window. |
| |
| |
| ====== Examples ====== | ====== Examples ====== |
| | |
| <WRAP center 100%> | <WRAP center 100%> |
| <WRAP center box 500px> | <WRAP center box 500px> |
| {{ :gamedev:material_refraction_distort.png |Distorted refraction behind a transparent object}} | {{ :gamedev:textureproperties:refraction_distort.png |Distorted refraction behind a transparent object}} |
| <WRAP centeralign>Distorted refraction behind a transparent object. The distortion is not a true Fresnel based refraction but a Screen Space distortion. Using the **[[gamedev:textureproperties:refraction_distort_strength|refraction.distort.strength]]** texture property the strength of the distortion can be controlled. As image a normal map is used which allows to reuse the normal map also for distortion effects.</WRAP> | <WRAP centeralign>Distorted refraction behind a transparent object. The distortion is not a true Fresnel based refraction but a Screen Space distortion. Using the **[[gamedev:textureproperties:refraction_distort_strength|refraction.distort.strength]]** texture property the strength of the distortion can be controlled. As image a normal map is used which allows to reuse the normal map also for distortion effects.</WRAP> |
| </WRAP> | </WRAP> |
| </WRAP | </WRAP> |