Shader examples: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Here are some example shaders to try in 1.1. If you are looking to make your own, please be sure to read about the shader element as well. <br> __TOC__ ==Road shine== ...") |
No edit summary |
||
Line 1: | Line 1: | ||
Here are some example | Here are some example shader resources to try in 1.1. If you are looking to make your own, please be sure to read about the [[Shader|shader element]] as well. | ||
<br> | <br> | ||
__TOC__ | __TOC__ | ||
Line 5: | Line 5: | ||
[[Image:RoadShineScreen.jpg|200px|thumb|left|Road shine]] | [[Image:RoadShineScreen.jpg|200px|thumb|left|Road shine]] | ||
<table border=0><tr><td valign=top height=170> | <table border=0><tr><td valign=top height=170> | ||
[http://nightly.mtasa.com/files/shaders/shader_roadshine.zip Download shader_roadshine.zip] (Requires Shader Model 2 graphics card) | |||
<br><br> | <br><br> | ||
This resource creates a light reflection effect on the ground (looks best when moving). | This resource creates a light reflection effect on the ground (looks best when moving). | ||
Line 17: | Line 17: | ||
</td></tr></table> | </td></tr></table> | ||
== | ==UV scroll== | ||
[[Image:UVScollScreen.jpg|200px|thumb|left|Road shine]] | |||
<table border=0><tr><td valign=top height=170> | |||
[http://nightly.mtasa.com/files/shaders/shader_uv_scroll.zip Download shader_uv_scroll.zip] | |||
<br><br> | |||
This resource scrolls a texture from left to right. It doesn't use vertex or pixels shaders, so it should work on all hardware. | |||
</td></tr></table> |
Revision as of 03:32, 5 July 2011
Here are some example shader resources to try in 1.1. If you are looking to make your own, please be sure to read about the shader element as well.
Road shine
Download shader_roadshine.zip (Requires Shader Model 2 graphics card)
int CUSTOMFLAGS < string createNormals = "yes"; >; Surface normals are not usually present in the ground and building models, but are useful for creating lighting effects such as these. |
UV scroll
Download shader_uv_scroll.zip
|