JWofles
Active Member
this happened
http://gyazo.com/d734fa610a8fdc50f21d74cb7c63675e.gif
http://gyazo.com/d734fa610a8fdc50f21d74cb7c63675e.gif
JWofles said:
Yikes! Was it working correctly at any point? (ie did the map just randomly disappear after displaying for a few secs) That's very unusual...JWofles said:
RHY3756547 said:Here's a version with shadows disabled. Tell me if this one displays anything... If it does, then there's a problem with my shadowing pixel shader!
https://dl.dropboxusercontent.com/u/122 ... NoShad.zip
RHY3756547 said:Here's another version:
https://dl.dropboxusercontent.com/u/122 ... adFix2.zip
The difference here is that I'm passing the vertex position as POSITION instead of POSITION0, which might have been confusing the AMD card. (eg. "which position should i use for the onscreen triangle? 0 or 1?")
I can try some more things tomorrow, such as doing ShadowMap calculations in the vertex shader and just passing 1. the TEXCOORDS of the shadow map on that triangle and 2. the depth... not sure what semantic I should use for this but I guess I could use only one dimension of a TEXCOORD semantic. That would probably fix Intel, and potentially allow for a speedup.
RHY3756547 said:Fixed crash on minimize and restore. I needed to regenerate all atlases and the MeshVertex array upon graphics reset.
That's not exactly workstation hardware... But it should work on anything with Pixel Shader 2.0 or above.xezno said:Do you think it'll work on this GPU:
Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller (rev 09)
RHY3756547 said:Try this one, this also fixes shadowing on Intel cards. (not that they can do it very fast anyways)
https://dl.dropboxusercontent.com/u/122 ... adFix3.zip
This interpolates TEXCOORDs with the relevant information instead of interpolating the triangle position and transforming it in the pixel shader.
RHY3756547 said:Try this one, this also fixes shadowing on Intel cards. (not that they can do it very fast anyways)
https://dl.dropboxusercontent.com/u/122 ... adFix3.zip
This interpolates TEXCOORDs with the relevant information instead of interpolating the triangle position and transforming it in the pixel shader.
RHY3756547 said:Try this one, this also fixes shadowing on Intel cards. (not that they can do it very fast anyways)
https://dl.dropboxusercontent.com/u/122 ... adFix3.zip
This interpolates TEXCOORDs with the relevant information instead of interpolating the triangle position and transforming it in the pixel shader.