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
This resource creates a light reflection effect on the ground (looks best when moving).
It uses a custom flag in the effect file to generate surface normals for the ground model:
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
Bit more complicated than the first Road shine, as it tracks the sun or moon to calculate the position of the highlight.
The effect can be hard to see depending on the time of day.
Best used with the play resource as the model it modifies is near the initial spawn point.
|
UV scroll
Download shader_uv_scroll.zip
This resource scrolls a texture from left to right. It doesn't use vertex or pixels shaders, so it should work on all hardware.
|
UV scripted
Ped morph
Download shader_ped_morph.zip Requires Shader Model 2 graphics card
This resource uses a vertex shader to modify the geometry of a ped model as it is rendered.
When the resource has started, use the 'k' and 'l' keys to change morph size. If you change your player's skin, restart the resource to modify the new model.
|
Ped shell
Download shader_ped_shell.zip Requires Shader Model 2 graphics card
This resource draws a translucent effect in a second render pass. The first pass is done by GTA, and the vertex shader is only applied in the second to add the effect 'on top' of the standard output.
When the resource has started, use the 'k' key to see the shell effect. If you change your player's skin, restart the resource to see the effect applied to the new model.
|
Car paint
Download shader_car_paint.zip Requires Shader Model 2 graphics card
This resource shows you how to apply a shader to the vehicle models. The shader itself is not that great, so don't get your hopes up.
|