Shader examples: Difference between revisions
No edit summary |
No edit summary |
||
Line 115: | Line 115: | ||
[[Image:RoadShine3Screen.jpg|200px|thumb|left|Road shine 3]] | [[Image:RoadShine3Screen.jpg|200px|thumb|left|Road shine 3]] | ||
<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_roadshine3.zip Download shader_roadshine3.zip] | [http://nightly.mtasa.com/files/shaders/shader_roadshine3.zip Download shader_roadshine3.zip] ''Requires Shader Model 2 graphics card'' | ||
<br><br> | <br><br> | ||
This resource shows how to: | This resource shows how to: | ||
Line 131: | Line 131: | ||
[http://nightly.mtasa.com/files/shaders/shader_skidmarks.zip Download shader_skidmarks.zip] ''Requires Shader Model 2 graphics card'' | [http://nightly.mtasa.com/files/shaders/shader_skidmarks.zip Download shader_skidmarks.zip] ''Requires Shader Model 2 graphics card'' | ||
<br><br> | <br><br> | ||
This resource shows you how to do multiple passes in a shader, and | This resource shows you how to do multiple passes in a shader, and input different variables to the vertex shader for each pass. | ||
Use the command '''/skidmarks 1-4''' to see the different effects. (You have skid a car to see it!) | Use the command '''/skidmarks 1-4''' to see the different effects. (You have skid a car to see it!) | ||
<br><br> | <br><br> |
Revision as of 07:39, 9 November 2011
This page contains 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. |
Road shine 2
Download shader_roadshine2.zip Requires Shader Model 2 graphics card
|
UV scroll
Download shader_uv_scroll.zip
|
UV scripted
Download shader_uv_scripted.zip
|
Ped morph
Download shader_ped_morph.zip Requires Shader Model 2 graphics card
**** UPDATE: Due to performance issues, applying shaders to peds has been disabled for 1.1 **** |
Ped shell
Download shader_ped_shell.zip Requires Shader Model 2 graphics card
**** UPDATE: Due to performance issues, applying shaders to peds has been disabled for 1.1 **** |
Car paint
Download shader_car_paint.zip Requires Shader Model 2 graphics card
|
Water
Download shader_water.zip Requires Shader Model 2 graphics card
|
Bloom
Download shader_bloom.zip Requires Shader Model 2 graphics card
|
Block world
Download shader_block_world.zip Requires Shader Model 2 graphics card
|
Texture names
Download shader_tex_names.zip
num_8 shows/hides the texture list, num_7 and num_9 step through the list, and 'k' copies the current texture name to the clipboard. |
Road shine 3 (Deluxe edition)
Download shader_roadshine3.zip Requires Shader Model 2 graphics card
The final effect is a faster shader with less rendering issues than the previous two road shine examples.
|
Skid marks
Download shader_skidmarks.zip Requires Shader Model 2 graphics card
|
HDR contrast
Download shader_contrast.zip Requires Shader Model 2 graphics card
|