Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 9th, 2007, 03:01 PM
Registered User
 
Join Date: Aug 2007
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








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





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