Advertisement
Guest User

squatcunts DoF settings

a guest
May 28th, 2015
331
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.23 KB | None | 0 0
  1. //PETKAGTA DEPTH OF FIELD
  2. #define DOF_VIGNETTING 0 //[0 or 1] Enables vignetting (darkens edges). There is a better shader for that in ME but I decided to keep it
  3. #define DOF_MANUAL 1 //[0 or 1] Enables Manual DOF focussing
  4. #define DOF_AUTO 0 //[0 or 1] Enables Autofocus
  5. #define DOF_PENTAGONSHAPE 0 //[0 or 1] Enables Pentagonal DOF shape (bugged, dunno how to fix, better use GP DOF for polygonal shapes)
  6. #define focalDepth 1500.5 //[10.0 to X] Depth of focal plane for manual DOF
  7. #define focalLength 10.0 //[10.0 to X] Length of focus area for manual DOF
  8. #define fstop 150.5 //[10.0 to X] fStop for manual DOF
  9. #define vignint 20 //[0 to X] Amount if vignetting applied
  10. #define fdofstart 20 //[0.0001 to 0.05] Distance where far blur starts
  11. #define fdofdist 1500 //[0.1 to 1.0] Distance where far blur ends
  12. #define focus float2(0.5,0.5) //[0.0 to 1.0] Screen coordinates of focus point. First value is horizontal, second value is vertical position. 0 is left/upper, 1 is right/lower.
  13. #define CoC 0.4 //[0.01 to 0.3] table is here http://en.wikipedia.org/wiki/Circle_of_confusion
  14. #define namount 0.00004 //[0.00000 to 0.0005] Amount of noise applied. This is no grain, rather some kind of DOF offset jittering
  15. #define DOFdownsample 4.0 //[0 to 10] This should downsample the blurred areas but Boris and his unsupported stuff...
  16. #define maxblur 2.5 //[1.0 to 10.0] Maximum amount of blurring
  17. #define samples 6 //[5 to 30] Samples on the first ring. The other rings around have more samples
  18. #define rings 4 //[1 to 8] Ring count
  19. #define threshold 0.4 //[0.8 to 2.0] Threshold for bokeh brightening. Above this value, everything gets much much brighter. 1.0 is maximum value for LDR games like GTASA, higher values work only on HDR games like Skyrim etc.
  20. #define gain 1.0 //[0.1 to 2.0] Amount of brightening for pixels brighter than threshold.
  21. #define bias 0.2 //[0.1 to 2.0] bokeh bias.
  22. #define fringe 0.5 //[0.0 to 1.0] Amount of chromatic abberation
  23. #define znear 100.0 //[20 to 200] camera clipping start.
  24. #define zfar 3500.0 //[1500 to 8000] camera clipping end.
  25. #define feather 1.1 //[0.1 to 2.0] pentagon shape feather.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement