Notes on Lighting in Direct

1. Lights and materials are closely related. Remember that if the object is not displayed when the light is turned on, check whether the material is set. If some parameters in the material are not set, whether it has been cleared (some parameters are not set, it will also cause the object to be in the light. not displayed below).

2. Check whether the light type and its corresponding parameters are set completely. Some parameters are not set, which will also cause problems.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325303409&siteId=291194637