Parameters incorrecly exported

Night Elf

06-09-2006 18:09:13

This is how I have my vertex shader parameters set up in max:



So, I would expect to get the following in the material file:

param_named_auto view_proj_matrix worldviewproj_matrix
param_named_auto light_position light_position_object_space 0
param_named_auto eye_position camera_position_object_space
param_named_auto inv_view_matrix inverse_worldview_matrix


But I get this:

param_named_auto view_proj_matrix worldviewproj_matrix
param_named light_position float4 -21.4279 262.413 -492.742 1
param_named eye_position float4 -0.180687 -0.517869 -0.836159 1
param_named inv_view_matrix float16 0.977439 -0.109383 0.180687 104.355 3.65079e-007 0.85546 0.51787 364.612 -0.211217 -0.506186 0.83616 535.224 0 0 -0 1


Some other parameters (in the pixel shader, for example) also get exported wrongly.

Am I doing something wrong or is it a bug in oFusion?

Lioric

06-09-2006 21:30:19

Its been reported that is issue is on some machines/configurations

I will review this inmediatly

Night Elf

13-09-2006 17:46:02

Any news regarding this problem, Lioric?

Lioric

13-09-2006 19:52:53

Yes, its been fixed last week, a hotfix will be provided to CE users in the next days