---------
Multi-textured procedural spaceship damage.
Not Telling
30 December 2010 - 02:55 AM
26 December 2010 - 04:57 PM

/*
c0 ambient color
c1 light color
c2 light vector
c3 halfway vector
*/
lightDiffuse = d3d_ps_create
("
ps.1.4
texld r0, t0
dp3 r0.rgb, r0_bx2,c2
mul r0.rgb, r0,c1
add r0.rgb, r0,c0
");
lightSpec = d3d_ps_create
("
ps.1.4
texld r0, t0
dp3 r0, r0_bx2,c3
mul r0, r0,r0
mul r0, r0,r0
mul r0, r0,r0
mul r0, r0,c1
");24 May 2010 - 12:23 AM
I take your apple, divide it into nine pieces, and take six; leaving the square root of 1 apple = 1/3 of an apple. Who knew?Numbers can represent physical objects and vice versa. I don't know why you feel you have to be so critisizing of a basic idea that kids are taught in kindergarten. And isn't 1/2 the square root of an object? Think about it, you make it a square, divide it into four seperate objects, and then take two, which is the square root of four.
13 May 2010 - 02:08 AM
22 April 2010 - 03:45 AM
Community Forum Software by IP.Board
Licensed to: YoYo Games Ltd

Find content