Changes

Jump to navigation Jump to search

Tutorials/Advanced/Extended Shadows

1,476 bytes added, 05:34, 4 June 2017
WIP
{{Construction}}

This tutorial will provide a brief overview of the extended shadow effect used for player trucks and trailers, and guide you through correctly setting up your model for it.

== Overview ==
The extended shadow effect is used to draw a shadow volume underneath the player's truck and trailer. A grayscale texture is used to define the strength of the shadow volume along its length and width. Within the model, two locators are used to define the shadow volume and a surface is used to define the limit of the effect in the vertical direction. The effect can be fine tuned in the corresponding [[Documentation/Engine/Units/accessory_chassis_data|chassis definition]].

[[File:Ext_shadow_001.jpg|thumb]]
=== Locators ===
The origin locator (shadow_x_ori, shd_x_ori1, shd_x_ori2, etc) defines the upper boundary, center, and direction of the shadow volume. This locator should generally always be oriented so that it points down (i.e. rotated so that the locator '''+y''' points in global '''-Z'''). The corner locator (shadow_x_crn, shd_x_crn1, shd_x_crn2, etc) defines the width, length, and lower boundary of the shadow volume.

=== ''Fakeshadow'' Surface ===
A surface using the 'fakeshadow' effect is used to limit where shading is applied within the shadow volume. By default,

== Model Set-Up ==

=== Placing the Locators ===

=== Making the ''Fakeshadow'' Surface ===

=== Creating the Shadow Texture ===

== Definitions Set-Up ==

== Troubleshooting ==
309
edits

Navigation menu