Jump to content

Matt'.

Members
  • Posts

    1
  • Joined

  • Last visited

Matt'.'s Achievements

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody. (2/54)

0

Reputation

  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?
×
×
  • Create New...