{{tag>projected_texture part}}
{{htmlmetatags>metatag-keywords=(pac3, wiki, part, projected, texture, light, effect)
metatag-description=(Projects a light onto a surface.)
metatag-og:title=(Projected Texture | Part | PAC3)
metatag-og:description=(Projects a light onto a surface.)
}}
====== Projected Texture ======
Projects a light onto a surface. The red arrow indicates the direction. Can be used for custom flashlights or light effects.
{{fa>fas fa-exclamation-triangle?color=#de3333&fw&lg}} This part breaks [[:part:halo]].
===== Location =====
This part can be found under:
* :effect: **Effects** > [[:part:projected_texture]]
{{page>:includes#location}}
\\
\\
{{:part:projected-light:plight.jpg?direct}}
===== Usage & Examples =====
==== Basic Projected Texture ====
Add the [[:part:projected_texture]] to your outfit, aim it in the direction that you want and tweak the [[#properties]].
{{:part:projected-light:custom_flashlight.jpg?direct}}
==== Custom Flashlight ====
Custom flashlight attached to a pistol (weapon_pistol).
{{fa>download?color=#7ab353&fw&lg}} **Download:** {{:part:projected-light:custom_flashlight.txt}}
{{:part:projected-light:pt_custom_texture.jpg?direct|}}
==== Custom Texture ====
You can use custom textures in the [[#texture]] field, this can be any **.JPG** / **.PNG** / **.VTF** image. Darker colors are less visible, black is invisible.
{{fa>download?color=#7ab353&fw&lg}} **Download:** {{:part:projected-light:custom_texture.txt}}
{{:part:projected-light:pt_animated_texture.gif?direct|}}
==== Custom Animated Texture ====
Custom **.VTF** textures can be animated and controlled through [[#texture frame]].
{{fa>download?color=#7ab353&fw&lg}} **Download:** {{:part:projected-light:animated_texture.txt}}
===== Properties =====
==== Appearance ====
== brightness ==
Brightness of the light.
== color ==
Color of the light.
== translucent ==
---
== draw order ==
---
== ignore z ==
---
== no texture filtering ==
---
== blend mode ==
---
==== Generic ====
== shadows ==
Stops the light from going through props/walls causing them to cast shadows.
Image Preview
{{:part:projected-light:pt_shadows.gif|}}
== orthographic ==
Doesn't work :)
== near z ==
Moves the starting point of the projection forward, seems to only affect shadows.
Image Preview
{{:part:projected-light:pt_nearz.gif|}}
== far z ==
The maximum distance of the projected texture.
== fov ==
Doesn't work :)
== horizontal fov ==
Horizontal FOV of the projected texture. Range: 0-180. Breaks [[#shadows]].
Image Preview
{{:part:projected-light:pt_hor_fov.gif}}
== vertical fov ==
Vertical FOV of the projected texture. Range: 0-180. Breaks [[#shadows]].
Image Preview
{{:part:projected-light:pt_ver_fov.gif}}
== texture ==
Texture to project. Supports custom textures.
== texture frame ==
Frame of the texture if the texture is animated.
== name ==
{{section>property:name#include&inline}}
== hide ==
{{section>property:hide#include&inline}}
== is explicit ==
{{section>property:is explicit#include&inline}}
==== Orientation ====
== parent name ==
{{section>property:parent#include&inline}}
== aim part name ==
{{section>property:aim-part#include&inline}} [[property:aim-part|→ Read More]]
== bone ==
{{section>property:bone#include&inline}}
== position ==
{{section>property:position#include&inline}} [[:property:position|→ Read More]]
== angles ==
{{section>property:angles#include&inline}} [[:property:angles|→ Read More]]
== eye angles ==
{{section>property:eye angles#include&inline}} [[:property:eye angles|→ Read More]]
== position offset ==
---
== angle offset ==
---