Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thomas, 2008-02-13, "Render To Texture" (includes demoapp)
NeroAngelos Offline
Member

Posts: 52
Threads: 3
Joined: Feb 2008
Reputation: 0
#11
RE: Thomas, 2008-02-13, "Render To Texture" (includes demoapp)

first one works fine for me
02-13-2008, 10:40 PM
Find
Ploddish Offline
Junior Member

Posts: 9
Threads: 3
Joined: May 2007
Reputation: 0
#12
RE: Thomas, 2008-02-13, "Render To Texture" (includes demoapp)

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;
}
(This post was last modified: 02-14-2008, 01:19 AM by Christian.)
02-14-2008, 01:18 AM
Find
MisterJim Offline
Junior Member

Posts: 8
Threads: 0
Joined: May 2007
Reputation: 0
#13
RE: Thomas, 2008-02-13, "Render To Texture" (includes demoapp)

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!
02-14-2008, 01:35 AM
Find
Bou_Frost Offline
Junior Member

Posts: 10
Threads: 1
Joined: Apr 2007
Reputation: 0
#14
RE: Thomas, 2008-02-13, "Render To Texture" (includes demoapp)

Only the one without MipMaps works properly for me ... yes ^^ it is a HD2900XT ...
03-06-2008, 10:41 PM
Find




Users browsing this thread: 1 Guest(s)