Changes

Shader Coding - Best Practices

334 bytes added, 13:22, 22 February 2014
Fragment Shaders
</syntaxhighlight>
}}
 
{{Note|If the fragment isn't running, there should be an error message in the log file (I wish they'd still be written to the console). Might be that the texture isn't defined in the supporting framework for instance - the shader assumed that it is available, but you need to declare it in the matching C++ code/effect file first.}}
{{Note|This is how you can make a pixel darker:
18,286
edits