Sunday, March 17, 2013

Shaders, Normal Mapping, FBX Files

03/17/2013

Members of our team are running into problems when artists are submitting new FBX models, or when the level designers are selecting a shader type for a model that is not designed to be shaded that way. So I have gone in and updated our DisplayModel.cs to catch shader types that are not supported for each FBX model that is displayed. This is mainly for Normal Mapping, either when someone sets the shader type to normal mapping and the FBX model has no Normal Mapping, or when the FBX model is designed for Normal Mapping, but has not been set to be processed by the Normal Mapping Processor. This updated code will allow for the game to always build and run, but models may not be drawn as well as they could be.

In the process I have gone through and updated the following models so that our code recognizes them for what they are and will display them all the way they were intended:

Lamp_1, Lamp_2, Lamp_3, Lamp_4, Lamp_5, crate_max, fire_pit_big, lamp_short, pillar_short, platform_squre_brickmoss.

No comments:

Post a Comment