TGE Study Notes 05-shadow

Source: Internet
Author: User

To solve the shadow problem in rendering scenarios over the past few days, first find an article in EddieArticle
Using sceneobject in the torque engine to generate dynamic shadows (shadows class derived from sceneobject)
Only then can we know that the DIF object and SHAP object can automatically calculate the static shadow, while the DTs object is shaded by the hidden object! Such as trees and other shap
However, torque_logo.dts In the example can have shadows. How can this be explained? In 3D Game Development
Also, DTS objects don't inherently understand the concept of lighting and shadows, So if you make a building as a DTS object, you will also have to light it yourself using another object-which is possible, but you'll have to do that for every building.
Therefore, if we want to generate a shadow, we 'd better use DIF!
In addition, the patch mentioned by Eddie is no longer applicable in 1.5, because tlk already exists.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.