GodRaysShader.d.ts 773 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. import {
  2. Uniform
  3. } from '../../../src/Three';
  4. export const GodRaysDepthMaskShader: {
  5. uniforms: {
  6. tInput: Uniform;
  7. };
  8. vertexShader: string;
  9. fragmentShader: string;
  10. };
  11. export const GodRaysGenerateShader: {
  12. uniforms: {
  13. tInput: Uniform;
  14. fStepSize: Uniform;
  15. vSunPositionScreenSpace: Uniform;
  16. };
  17. vertexShader: string;
  18. fragmentShader: string;
  19. };
  20. export const GodRaysCombineShader: {
  21. uniforms: {
  22. tColors: Uniform;
  23. tGodRays: Uniform;
  24. fGodRayIntensity: Uniform;
  25. vSunPositionScreenSpace: Uniform;
  26. };
  27. vertexShader: string;
  28. fragmentShader: string;
  29. };
  30. export const GodRaysFakeSunShader: {
  31. uniforms: {
  32. vSunPositionScreenSpace: Uniform;
  33. fAspect: Uniform;
  34. sunColor: Uniform;
  35. bgColor: Uniform;
  36. };
  37. vertexShader: string;
  38. fragmentShader: string;
  39. };