<Tojo> unregistried
| Created on 30.08.2005 - 17:55 |  |
gpuPeteOGL2.slv:
uniform vec4 OGL2Size; uniform vec4 OGL2Param; void main() { gl_Position = ftransform();
gl_TexCoord[0] = gl_MultiTexCoord0; }
gpuPeteOGL2.slf:
uniform vec4 OGL2Size; uniform sampler2D OGL2Texture; void main() { vec4 texel; texel = texture2DProj(OGL2Texture, gl_TexCoord[0]);
gl_FragColor = texel * texel * texel; }
gpuPeteOGL2.vp:
!!ARBvp1.0 OPTION ARB_position_invariant; MOV result.texcoord[ 0 ],vertex.texcoord[ 0 ]; END
gpuPeteOGL2.fp:
!!ARBfp1.0 TEMP color0, color1;
TEX color0, fragment.texcoord[ 0 ], texture[ 0 ], 2D;
MUL color1, color0, color0; MUL result.color, color0, color1;
END
CiaoCiao.....
|