User Tools

Site Tools


gamedev:textureproperties:outline_thickness_screen

Differences

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

Link to this comparison view

gamedev:textureproperties:outline_thickness_screen [2020/05/04 19:10] – created dragonlordgamedev:textureproperties:outline_thickness_screen [2025/11/29 11:43] (current) – [Description] dragonlord
Line 18: Line 18:
 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 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 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 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. 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.
gamedev/textureproperties/outline_thickness_screen.txt · Last modified: 2025/11/29 11:43 by dragonlord