assigning values to shader parameters in the XNA content pipeline
- by Nick
I have tried creating a simple content processor that assigns the custom effect I created to models instead of the default BasicEffect.
[ContentProcessor(DisplayName = "Shadow Mapping Model")]
public class ShadowMappingModelProcessor : ModelProcessor
{
protected override MaterialContent ConvertMaterial(MaterialContent material,…