Navy Seal
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
Quote:
Originally Posted by bstanko6
@ Gap I did it my friend no problem now. Here are the numbers:
const static float3 g_texCoords[36] =
{
{0, 0, 0},
{-0.0001, 0, 1},
{0.125, 0, 0},
{0.1230, 0, 1},
{0.25, 0, 0},
{0.2490, 0, 1},
{0.375, 0, 0},
{0.3730, 0, 1},
{0.5, 0, 0},
{0.4980, 0, 1},
{0.625, 0, 0},
{0.6230, 0, 1},
{0.75, 0, 0},
{0.7480, 0, 1},
{0.875, 0, 0},
{0.8730, 0, 1},
{1, 0, 0},
{0.9980, 0, 1},
///////////////////////////
{0, 1, 0},
{-0.0001, 1, 1},
{0.125, 1, 0},
{0.1240, 1, 1},
{0.25, 1, 0},
{0.2480, 1, 1},
{0.375, 1, 0},
{0.3730, 1, 1},
{0.5, 1, 0},
{0.4980, 1, 1},
{0.625, 1, 0},
{0.6230, 1, 1},
{0.75, 1, 0},
{0.7480, 1, 1},
{0.875, 1, 0},
{0.8730, 1, 1},
{1, 1, 0},
{0.9980, 1, 1},
Perfect for us AMD users! I never played with shaders before. Thanks!
|
Thank you very much bstanko6, well done!
I have noticed that you didn't subtract a constant vale from stock vertex coordinates (e.g. 0.125 - 0.123 = 0.002, but 0.25 - 0.249 = 0.001). Is there a reason for that? At the first attempt, did you try doing as I had said yesterday?
Quote:
Originally Posted by gap
Maybe you could start by using the same values on top of each red number (0, 0.125, 0.250, etc.) minus 0.001.
|
|