Pete´s Messageboard... No ISO/BIOS requests!

Homepage Members Register Login Search Old board


Neuer Thread ...


AuthorTopics » Book an abo for this threadClose Thread Move Thread Fix the thread Print view Delete this thread

<Tojo>
unregistried

...   Created on 30.08.2005 - 17:55Jump to top Quote this post Report this post Edit Delete


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.....





Similarly threads:
Topics Created by Replies Boardname
New GLSL shaders ShadX 0 pete_bernert
GLSL Catmull-Rom rev.3 ShadX 1 pete_bernert
SuperEagle GLSL shader guest 0 pete_bernert
Scale2x Plus GLSL shader guest 0 pete_bernert
Experimental 2x GLSL shader guest 5 pete_bernert
Neuer Thread ...





Masthead

This forum is a free service of razyboard.com powered by:
Geizkragen Price Comparison. Top product in the price comparison: Krups Nespresso Essenza (XN2001)
Do you want a free forum in less than two minutes? Then click here!



blank