Matt'.

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Matt'.

  • Rank
    I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.
  1. Hi, I want just to change the value of DepthBias by Lua So here, I have defined a parameter which I named parameter1, and the rest is just for replace.fx texture gTexture; float parameter1; technique TexReplace { pass P0 { DepthBias = parameter1; Texture[0] = gTexture; } } And now, we gonna go to Lua File : (the shader is working etc...) dxSetShaderValue(shader, "parameter1", -0.0006) So here, it doesn't work, DepthBias doesn't take the value of parameter1 as I wrote in the .fx file ! Any help please?