User Tools

Site Tools


gamedev:textureproperties:outline_thickness_screen
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


gamedev:textureproperties:outline_thickness_screen [2020/05/04 19:10] (current) – created dragonlord
Line 1: Line 1:
 +{{tag>graphic skin texture outline}}
 +<WRAP youarehere>
 +[[:start|Start Page]] >> [[:gamedev|Game Development with the Drag[en]gine]] >> [[gamedev:skinproperties|Skin Texture Properties]] >> [[gamedev:texturepropertylist|Texture Property Database]] >> **outline.thickness.screen**
 +</WRAP>
 +
 +====== Skin Texture Property: outline.thickness.screen ======
 +
 +Defines the outline thickness measurement mode.
 +|Excepted Data Source|1 component value|
 +|Data Range|0 or 1|
 +|Default Value|0|
 +|Affected Modules|Graphic|
 +
 +====== Description ======
 +
 +The **outline.thickness.screen** texture property determines if the value of [[outline_thickness|outline.thickness]] is relative to screen.
 +
 +If the value is 0 the value of [[outline_thickness|outline.thickness]] is measured as meters in world space. In this mode the visual thickness on screen changes with the distance of the object to the camera.
 +
 +If the value is 1 the value of [[outline_thickness|outline.thickness]] is measured relative to the camera field-of-view. This makes the thickness stay at constant visual size no matter what distance of the object to the camera. For example in the screen mode a value of 0.01 for example equals to a thickness of 1% the screen width.
 +
 +If thickness is larger than 0 an outline is rendered around the component. This is typically used to highlight objects or to use cartoon style effects.
 +
 +The outline.thickness.screen value is a 1 component value with the value of 0 or 1.
 +
 +The default value for this texture property is 0.
 +
 +====== Examples ======
 +
 +<WRAP center 100%>
 +<WRAP center box 450px>
 +{{youtube>C0UW5xBBBVs?medium}}
 +<WRAP centeralign>Example usage of outline.* skin texture properties.</WRAP>
 +</WRAP>
 +</WRAP>
  
gamedev/textureproperties/outline_thickness_screen.txt · Last modified: 2020/05/04 19:10 by dragonlord