by Ashton Lawson » Tue Jan 22, 2008 11:18 am
Nick, I've read about these float3 and float variables, and it seems they're quite simple.
I can't read from them, but I can write them, e.g.
float3 RGB = float3(128,128,255);
RGB = float3(255,128,255);
I think that's how you define it's elements. The first line I wrote would be the definition (hence float3 preceding RGB).
when you want to define the variable, you can't just input regular numbers as usual, you need to define it by using the variable type, then placing brackets around the data you want to place.
i'm not testing tonight, i'll try tomorrow, but by then you might have got it work.
guess I'll work on a triple-trackBar for color, lol...
FS Water Configurator+ has new modifications in the works, plus DirectX 10, Service Pack
1, and Radeon HD 3+ Series support.