About Store Forum Documentation Contact
Donations:
289$/mo



Post Reply 
Shaders won't compile after build 21 update
Author Message
fatcoder Offline
Member

Post: #1
Shaders won't compile after build 21 update
For some reason after updating EE 1.0 to build 21, none of my shaders or even the tutorial shaders will compile.

I've run the AutoUpdate tool to update everything as per normal. I then downloaded the latest shader headers from the store.

I've copied the latest shader headers over my old ones. I've also copied them into the SDK Data folder to test with the tutorials.

I then double checked my shader Main.h file to ensure it is pointing to the right files. I've also changed the shader Main.h file in the SDK Data folder for the tutorial shaders.

From what I can see, everything is set up correctly. I've done this many times before and never had a problem until now.

When I run the Shader Creation tutorial, I get an error saying "Error compiling shader ### to file ###."

Doesn't this error mean that the shader headers were not found? How is that possible when I have it all set up correctly? Is there some new extra step now or something I'm not aware of?

Is it possible that the shader headers I've downloaded from the store are for EE 2.0 and not EE 1.0, which is what I'm using?
(This post was last modified: 02-22-2013 05:15 AM by fatcoder.)
02-22-2013 05:05 AM
Find all posts by this user Quote this message in a reply
Zervox Offline
Silver Supporter

Post: #2
RE: Shaders won't compile after build 21 update
I can replicate the results and are wondering about the same thing.
(This post was last modified: 02-22-2013 05:21 AM by Zervox.)
02-22-2013 05:20 AM
Find all posts by this user Quote this message in a reply
fatcoder Offline
Member

Post: #3
RE: Shaders won't compile after build 21 update
Yep, I think there is something wrong. I just tried downloading a fresh copy of the SDK and a fresh copy of the shader headers. Plugged them together and no banana.

Would love a fix for this ASAP please as work has ground to a halt.
02-22-2013 06:03 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Shaders won't compile after build 21 update
I'll check this.
Does the problem occur in both dx9 and dx10+?
02-22-2013 11:33 AM
Find all posts by this user Quote this message in a reply
fatcoder Offline
Member

Post: #5
RE: Shaders won't compile after build 21 update
Just tested both with the Shader Creation tutorial. DX10 works fine. Compiles for SM4 and runs ok. However, DX9 does not work at all. Won't compile any shaders.
02-22-2013 12:14 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #6
RE: Shaders won't compile after build 21 update
Thanks I've reproduced the same problem on DX9 (fail) DX10 (ok), I'm working on fixing this.
02-22-2013 12:53 PM
Find all posts by this user Quote this message in a reply
fatcoder Offline
Member

Post: #7
RE: Shaders won't compile after build 21 update
Great! I can't wait to get back into it.
02-22-2013 01:25 PM
Find all posts by this user Quote this message in a reply
fatcoder Offline
Member

Post: #8
RE: Shaders won't compile after build 21 update
Thanks for the fix. Just tested it and problem solved.
02-22-2013 03:21 PM
Find all posts by this user Quote this message in a reply
Post Reply