Jump to content

Wrong billboard texcoord in dx10 and dx11


photo

Recommended Posts

Hi,

In Unigine SDK 2011-07-21, when using dx10 or dx11 billboards has invalid texture coordinates. Problem is in \core\shaders\default\billboards\vertex_base.shader, but only in version for direct3d10 and direct3d11. (line 288)

 

it is:

float4 texcoord = float4(IN.texcoord_1.zw,0.0f,0.0f);

should be:

float4 texcoord = float4(IN.texcoord_2.zw,0.0f,0.0f);

 

(according to similiar code for dx9)

Link to comment
×
×
  • Create New...