BokehShader2.d.ts 763 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. import {
  2. Uniform
  3. } from '../../../src/Three';
  4. export const BokehShader: {
  5. uniforms: {
  6. textureWidth: Uniform;
  7. textureHeight: Uniform;
  8. focalDepth: Uniform;
  9. focalLength: Uniform;
  10. fstop: Uniform;
  11. tColor: Uniform;
  12. tDepth: Uniform;
  13. maxblur: Uniform;
  14. showFocus: Uniform;
  15. manualdof: Uniform;
  16. vignetting: Uniform;
  17. depthblur: Uniform;
  18. threshold: Uniform;
  19. gain: Uniform;
  20. bias: Uniform;
  21. fringe: Uniform;
  22. znear: Uniform;
  23. zfar: Uniform;
  24. noise: Uniform;
  25. dithering: Uniform;
  26. pentagon: Uniform;
  27. shaderFocus: Uniform;
  28. focusCoords: Uniform;
  29. };
  30. vertexShader: string;
  31. fragmentShader: string;
  32. };
  33. export const BokehDepthShader: {
  34. uniforms: {
  35. mNear: Uniform;
  36. mFar: Uniform;
  37. };
  38. vertexShader: string;
  39. fragmentShader: string;
  40. };