Frictional Games Forum (read-only)
Thomas, 2008-02-13, "Render To Texture" (includes demoapp) - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Frictional Games (https://www.frictionalgames.com/forum/forum-3.html)
+--- Forum: Blog (https://www.frictionalgames.com/forum/forum-23.html)
+--- Thread: Thomas, 2008-02-13, "Render To Texture" (includes demoapp) (/thread-1611.html)

Pages: 1 2


RE: Thomas, 2008-02-13, "Render To Texture" (includes demoapp) - NeroAngelos - 02-13-2008

first one works fine for me


RE: Thomas, 2008-02-13, "Render To Texture" (includes demoapp) - Ploddish - 02-14-2008

Works fine for me - 2 nVidia Geforce 7300 GT (Not sure what drivers are on here since messing it up earlier in the year)

[Image: 15666380dk9.png]

Not that I've been having fun with it or anything...

Changed it to:

void main( float4 pos : POSITION,
float4 color : COLOR0,
float2 uv : TEXCOORD0,

out float4 oColor0 : COLOR,
//out float4 oColor1 : COLOR1,

uniform float time
)
{
float phase = 10;
float amp = 10;
float freq = 1000;
float2 dir = normalize(uv - float2(0.5,0.5)) ;

float funcT = dot(uv, dir) * freq + time * phase;

float R = sin(funcT)*0.25 + 0.75;
float G = cos(funcT)*180 + 90;
float B = sin(funcT) * cos(funcT)*5 +12;

oColor0.xyz = float3(R,G,B);
oColor0.w =1;
}


RE: Thomas, 2008-02-13, "Render To Texture" (includes demoapp) - MisterJim - 02-14-2008

The first one works fine for me.

I have a Geforce 6600 256MB with old 84.43 drivers Tongue
Medium framerate: 327.941380

These work log posts are pretty interesting (I do game programming in my spare time) keep posting them!


RE: Thomas, 2008-02-13, "Render To Texture" (includes demoapp) - Bou_Frost - 03-06-2008

Only the one without MipMaps works properly for me ... yes ^^ it is a HD2900XT ...