Permalink
Browse files

Fix default filters for depth/stencil textures to nearest

  • Loading branch information...
Shinmera committed Jan 28, 2019
1 parent 27c0a74 commit 2846e168e54702e501ca8bf39e4cd813b0916393
Showing with 6 additions and 3 deletions.
  1. +6 −3 pipeline.lisp
@@ -74,13 +74,16 @@
(case (attachment port)
(:depth-attachment
(list :internal-format :depth-component
:min-filter :linear))
:min-filter :nearest
:mag-filter :nearest))
(:stencil-attachment
(list :internal-format :stencil-index
:min-filter :linear))
:min-filter :nearest
:mag-filter :nearest))
(:depth-stencil-attachment
(list :internal-format :depth-stencil
:min-filter :linear))
:min-filter :nearest
:mag-filter :nearest))
(T
(list :internal-format :rgba))))))

0 comments on commit 2846e16

Please sign in to comment.