Jump to content
  • Advertisement

Programmer101

Member
  • Content count

    448
  • Joined

  • Last visited

Community Reputation

199 Neutral

About Programmer101

  • Rank
    Member
  1. Programmer101

    World Position

    It looks like you multiplied Position by the world/view/projection and then again by the world matrix to get WorldPos. If you switch the order of statements in your vertex shader, that should help: void mainVS(inout float4 Position : POSITION, out float3 WorldPos : TEXCOORD0) { WorldPos = mul(Position, WorldXf).xyz; Position = mul(Position, WorldViewProjXf); }
  2. Programmer101

    MVP '07: Day something

    "back kn my eoom now about to sleeep" lol
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!