Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6
This is the forum to discuss the Wrox book Professional XNA Game Programming: For Xbox 360 and Windows by Benjamin Nitschke; ISBN: 9780470126776
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 9th, 2007, 03:01 PM
Registered User
 
Join Date: Aug 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Shader troubles

I am having trouble while running fragment getting the first shader from chapter 6 to compile. I keep getting the errors below, and yet my i don't see any differences in my code from the shader code provided which does compile (other than the second technique). Although I didn't have the second technique written i tried copying it over anyways to no effect. I am wondering if somehow i set it up wrong (using FX composer 2 instead of 1.1 or whatever) but i have no idea since the setup steps were different from the book. Any help would be appreciated.

Error (31): error X4502: invalid input semantic 'POSITION'
Error (100): error X4502: invalid output semantic 'POSITION'
Error (101): error X4502: invalid output semantic 'TEXCOORD0'
Error (102): error X4502: invalid output semantic 'TEXCOORD1'
Error (103): error X4502: invalid output semantic 'TEXCOORD2'
Error (138): ID3DXEffectCompiler::CompileEffect: There was an error

Error ID3DXEffectCompiler: Compilation failed



 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Troubles with Programm AlisaSmi Excel VBA 0 March 7th, 2007 07:50 AM
Database troubles notrosh ASP.NET 2.0 Professional 0 June 13th, 2006 01:20 PM
CurrentRegion troubles Glen Frank Excel VBA 2 July 20th, 2005 07:04 AM
DataGrid Troubles mrideout BOOK: Beginning ASP.NET 1.0 1 August 17th, 2004 11:32 AM
Interop Troubles Yehuda Pro VB.NET 2002/2003 0 June 29th, 2004 01:26 PM



All times are GMT -4. The time now is 09:41 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.