Sources/Shaders/NBody/nbody.fsh
/* |
<codex> |
<abstract> |
Fragment shader for display splat texture. |
</abstract> |
</codex> |
*/ |
uniform sampler2D splatTexture; |
void main() |
{ |
gl_FragColor = texture2D(splatTexture, gl_TexCoord[0].st) * gl_Color; |
} |
Copyright © 2015 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2015-12-10