ppechromaber.c 607 B

12345678910111213141516171819202122232425
  1. //!ChromAber - PostProcessEffectType.ChromAber
  2. class PPEChromAber: PPEClassBase
  3. {
  4. static const int PARAM_POWERX = 0;
  5. static const int PARAM_POWERY = 1;
  6. static const int L_0_INTRO = 100;
  7. static const int L_1_INTRO = 100;
  8. override int GetPostProcessEffectID()
  9. {
  10. return PostProcessEffectType.ChromAber;
  11. }
  12. override string GetDefaultMaterialPath()
  13. {
  14. return "Graphics/Materials/postprocess/chromaber";
  15. }
  16. override void RegisterMaterialParameters()
  17. {
  18. RegisterParameterScalarFloat(PARAM_POWERX,"PowerX",0.0,0.0,0.05);
  19. RegisterParameterScalarFloat(PARAM_POWERY,"PowerY",0.0,0.0,0.05);
  20. }
  21. }