-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Variance Shadow Mapping - Breaks rendering #8
Comments
Same results here. Arch Linux 3.14.4-1 nvidia 337.19 GTX 750 Ti |
@Zammalad Hmm... While I have not downloaded and checked the latest commit, I can say that after having watching the latest addition to the tutorial, that I am not experiencing this problem with variance shadow mapping. Having typed out the code myself whilst following Benny's video, I am not sure about the commit itself. This is a screenshot of my current scene, showing that I don't seem to be experiencing the problem you are. Cough_Yes, ponies_Cough (These are actually not my pony models/textures, but I am planning to make my own) Anyway, because it seems important. I'm running on Windows 7 Home with nvidia GTX 650 |
@Colt-Zero what happens if you build from the latest git commit? |
Benny merged a pullrequest "Merge pull request #7 from pseudosoftware/master
if i remove them, all seems to be working fine. In my case the code breaks at this point, can you check this @Zammalad ? The code is in texture.cpp at line 97-98 |
Hmm.... Yes, there does seem to be an issue with the commit. Interesting, though. Because this commit seems to have some extra stuff in it that Benny has yet to cover in the latest video. My code is only up to date as far as the video goes, so I'm not exactly up to date with the commit. |
@Colt-Zero Benny added this Fix right after he committed the variance shadow code. The code is up to date with the video i guess, this fix has nothing to do with the material covered in the videos . |
I'm perhaps a little confused. Are you saying that all this extra filtering stuff that was not in the latest video not going to be a part of the video series? |
@Colt-Zero NO! sorry if i'm confusing you :)
is and will never be part of the video series – i guess |
Ah.... I get you now. Well... Does that mean the issue has been solved? That fix did work for me, at least. |
@Colt-Zero don't know – the code wasn't there for nothing. Like the commit message says: "Fix a problem with Intel integrated graphic cards." ... this was not intended to break the nvidia side and i guess it worked well with AMD cuz Benny merged it and he is using an AMD card if i recall correctly |
Ooch... One of these problems where it fixes one but breaks the other. It would probably be a bad move to make it check which kind of graphics card you have to determine whether the fix should be applied or not. A non-universal fix for the problem such as a graphics card dependency could lead the way to future troubles. |
At this Point we can't do much. Benny and pseudosoftware have to look at this since i don't really know what the fix is trying to do. maybe
can help but i can only guess here :) |
I can confirm that removal of
resolves the issue on my system (nVidia 770, 337.50 Driver). As has been stated this needs to be looked at by Benny/pseudosoftware since they were handling that specific commit for an Intel fix. |
Thanks for bringing this up everyone! For the time being, I've commented out those lines of code. I won't be adding them back until I receive more input from pseudosoftware. |
I'll have a look. |
Having the same problem with an intel processor #30 |
The latest commit which implements variance shadow mapping appears to have broken the functionality as it existed pre-shadows.
The first soft shadowing code worked perfectly but the variance shadow mapping code appears to break all the lighting, normal mapping etc although there are basic textures rendered.
This was run using unmodified latest checking from the repository. Maybe another nVidia/Intel/ATI issue?
The text was updated successfully, but these errors were encountered: