ppesunmask.c 941 B

123456789101112131415161718192021222324252627282930
  1. //!SunMask - PostProcessEffectType.SunMask
  2. //A dummy class in script; 'SunMaskEffect' is used as a part of Rain and GodRays
  3. class PPESunMask: PPEClassBase
  4. {
  5. /*
  6. static const int PARAM_INTENSITY = 0;
  7. static const int PARAM_SUNSIZE = 1;
  8. static const int PARAM_VSTREAKINT = 2;
  9. static const int PARAM_DSTREAKINT = 3;
  10. static const int PARAM_SUNMASK = 4;
  11. */
  12. override int GetPostProcessEffectID()
  13. {
  14. return PostProcessEffectType.SunMask;
  15. }
  16. override string GetDefaultMaterialPath()
  17. {
  18. return "";
  19. }
  20. /*override void RegisterMaterialParameters()
  21. {
  22. RegisterParameterScalarFloat(PARAM_INTENSITY,"Intensity",0.8,0.0,1.0);
  23. RegisterParameterScalarFloat(PARAM_SUNSIZE,"SunSize",0.2,0.0,1.0);
  24. RegisterParameterScalarFloat(PARAM_VSTREAKINT,"VerticalStreakIntensity",0.75,0.0,5.0);
  25. RegisterParameterScalarFloat(PARAM_DSTREAKINT,"DiagonalStreakIntensity",0.6,0.0,5.0);
  26. //RegisterParameterResource(PARAM_SUNMASK,"SunMask","");
  27. }*/
  28. }