Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 29 Jul 2012
Offline Last Active Aug 03 2012 12:49 PM

Topics I've Started

Beginner HLSL tutorial?

02 August 2012 - 10:25 AM

So, I've started learning C++ game development (primarily using DirectX). The problem is, all the tutorials for HLSL I've found are either outdated (use 2_0 HLSL version) or use XNA features. The problem with first group is that I can't fix all the errors caused by different compiler. Like the title says, I'm beginner at game development, and I've never successfully written HLSL shader Posted Image If I'm right, Vertex structures must have POSITION0 definition whereas Pixel structures must NOT have POSITION0 definition. And I understand that's why they use functions that transform input Vertex data into Pixel that acts as the output (return value) of the function. The problem with the second group is that the job position I'm interested in requires experience in C/C++ game development. Well actually, I might be completely wrong so I'll just write my request.
I'd like to follow a tutorial that enables me to write a shader file that will work in Visual Studio 2012 for DirectX 10 and DirectX 11 games.
BTW, for starters, I only want declarations for POSITION0 and COLOR0 (since I want to learn Direct3D programming rather than HLSL programming, but the first one doesn't work without the latter...) Thanks, you're awesome community Posted Image

error lnk1104

29 July 2012 - 12:41 PM

Hi everybody.
I've started learning game development from directxtutorial and I've ran into error lnk1104: cannot open file 'd3dx11.lib' error.
I'm using Visual Studio 11 Beta and Win7 x64. I've compared, and eventually copy/pasted the code from the website but the error doesn't change, let alone, solve itself.
P.S. I've added the SDK directories to the VC++ Directories as well as Additional Dependencies list, but nothing changes. Thanks in advance