Content Pipeline . Import Effect


Importing effect is powered by Sylabs with .fx extension. The syntax is like HLSL, but with custom rules. The effects for all windows platforms can only be built in windows environment.

See stock effect samples to explore built-in effects.

Add mesh content to project

Just set Importer name to EffectImporter and Processor name to EffectProcessor, like below.

<Item Include="\Effect\Blur.fx">
  <Importer Name="EffectImporter" />
  <Processor Name="EffectProcessor">

Defaultly, HiDef and Log are false. Currently, HiDef is only available on Windows target platform that support Shader Model 4.