Knowledge Base

Article Number: 14 | Post Date: September 8, 2016 | Last Updated: April 13, 2018

When I render my animation, a large glare appears on my vehicle's window as it travels along its path. Is there a way to turn this off?

Virtual CRASH 4 users can change the environment light direction as of the April 1, 2018 update. See Chapter 20 of the User's Guide to learn more.

When this occurs, it’s basically due to rays of light from one of the light sources within the 3D environment reflecting off of some of the vehicle mesh polygons at just the angle needed to redirect them to the camera. One option to reduce the effect is simply to adjust the camera angle. 

The other option for Virtual CRASH 3 users is to effectively disable specular highlights. Unfortunately, there’s no way to currently do this within the Virtual CRASH interface itself, so you’ll have to get your hands dirty and modify the shader file used by Virtual CRASH.

Go to your installation area of Virtual CRASH, and locate the /data directory. There you’ll find the file “default.shd.”

Make a copy of this file and save it somewhere on your hard drive in case you forget how to roll back your modifications once you've completed your final render. 

Next, open default.shd using a text editor like Notepad. Locate the third line from the top. These are properties related to specular highlights. 

Set all values to 0.0. 

Save the file and reopen Virtual CRASH. Note, depending on your permission settings, you may need to first save to an alternate location like your Desktop, then drag and drop the file into the /data directory.

You should no longer see specular highlights in your animation.

Tags: Specular highlight, glare, light reflection.

© 2016 vCRASH, Americas, Inc. All Rights Reserved