Skip to content

Commit daf2abb

Browse files
committed
shaders: Update common_iostructs.
1 parent eb7dbfc commit daf2abb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

res/gamedata/shaders/gl/common_iostructs.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -277,9 +277,9 @@ struct v_static
277277
float4 Nh ; // NORMAL; // (nx,ny,nz,hemi occlusion)
278278
float4 T ; // TANGENT; // tangent
279279
float4 B ; // BINORMAL; // binormal
280-
int2 tc ; // TEXCOORD0; // (u,v)
280+
float2 tc ; // TEXCOORD0; // (u,v)
281281
#ifdef USE_LM_HEMI
282-
int2 lmh ; // TEXCOORD1; // (lmu,lmv)
282+
float2 lmh ; // TEXCOORD1; // (lmu,lmv)
283283
#endif
284284
// float4 color ; // COLOR0; // (r,g,b,dir-occlusion) // Swizzle before use!!!
285285
float4 P ; // POSITION; // (float,float,float,1)
@@ -290,9 +290,9 @@ struct v_static_color
290290
float4 Nh ; // NORMAL; // (nx,ny,nz,hemi occlusion)
291291
float4 T ; // TANGENT; // tangent
292292
float4 B ; // BINORMAL; // binormal
293-
int2 tc ; // TEXCOORD0; // (u,v)
293+
float2 tc ; // TEXCOORD0; // (u,v)
294294
#ifdef USE_LM_HEMI
295-
int2 lmh ; // TEXCOORD1; // (lmu,lmv)
295+
float2 lmh ; // TEXCOORD1; // (lmu,lmv)
296296
#endif
297297
float4 color ; // COLOR0; // (r,g,b,dir-occlusion) // Swizzle before use!!!
298298
float4 P ; // POSITION; // (float,float,float,1)

0 commit comments

Comments
 (0)