|
dev.gamez.lv Latvian Game Developers Community
|
View previous topic :: View next topic |
Author |
Message |
anggelus
Joined: 23 Feb 2005 Posts: 383 Location: Rīga (LV)
|
Posted: Fri Nov 11, 2005 12:03 am Post subject: Šeideru linkošanas kļūda |
|
Uzinstalēju Forceware 81.85 un tagad mēģinot linkot šeideri, izmetās šād akļūda
"Vertex info
-----------
(0) : error C9999: symbol "@TMP1" already in table"
uz vecākajiem draiveriem nekā tāda nebija.
Code: |
uniform mat4 GBlendMatrices[30];
uniform float numBones;
attribute vec2 dcl_textureCoord;
attribute vec3 dcl_normal;
attribute vec4 dcl_weights;
attribute vec4 dcl_indices;
attribute vec3 dcl_tangent;
void main()
{
vec4 transformedPosition;
vec4 curIndex = dcl_indices;
vec4 curWeight = dcl_weights;
for (int i = 0; i < int(numBones); i++)
{
transformedPosition = transformedPosition + curWeight.x * vec4((GBlendMatrices[int(curIndex.x)] * gl_Vertex).xyz, 1.0);
....
}
|
pie visa vainīga šī te rindiņa:
Code: | transformedPosition = transformedPosition + curWeight.x * vec4((GBlendMatrices[int(curIndex.x)] * gl_Vertex).xyz, 1.0); |
varbūt kāds zin kas par vainu vai arī kā to citādāk uzrakstīt, lai viss būtu ok _________________ No comprendo lo que dice. |
|
Back to top |
|
|
EDDY
Joined: 07 Oct 2005 Posts: 1610 Location: Dzimtā zeme, Latvija
|
Posted: Sat Nov 12, 2005 1:07 pm Post subject: |
|
Anggelus, tieši to es gribēju tev teikt!
Tagad gan jaunais Nature Scene no nVidia iet bez gļukiem, zāle rullē. _________________ Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|