Hi guys,
I’ve been working on my own OpenGl project and learning off of tutorials and stuff for a little bit and I’m having an issue where I can see models when running on the integrated Intel graphics, but not when running on Nvidia graphics. I’ve played around with it in previous builds and got lucky where it was working on both, but I’ve made changes since then and I have no idea what’s causing the issue. The project runs without any shader errors when compiling.
Here’s a link to my repository of shaders:
The shaders being used on my two models are:
model.fs/vs and modelNormals.fs/vs
Any help would be appreciated.
[QUOTE=ObiWanKanabe;1293351]I’ve been working on my own OpenGl project and learning off of tutorials and stuff for a little bit and I’m having an issue where I can see models when running on the integrated Intel graphics, but not when running on Nvidia graphics.
I’ve played around with it in previous builds and got lucky where it was working on both, but I’ve made changes since then and I have no idea what’s causing the issue.[/QUOTE]
This is why you use version control or save off back versions of your source so that you can go back and figure out where these regressions come from quickly.
Without that, finding and fixing problems like this (and learning from your mistakes) is more time consuming and stressful than it needs to be.
Your time is valuable. Take a few minutes to prevent wasting it in the future.
[QUOTE=Dark Photon;1293356]This is why you use version control or save off back versions of your source so that you can go back and figure out where these regressions come from quickly.
Without that, finding and fixing problems like this (and learning from your mistakes) is more time consuming and stressful than it needs to be.
Your time is valuable. Take a few minutes to prevent wasting it in the future.[/QUOTE]
I have older versions of it working. I’m wondering what kind of syntax that Nvidia drivers dislike but still compile properly. There’s not much information on that at all so I though I’d ask here.
When I compile those 4 shaders with an NVidia compiler, for both fragment shaders I get:
model.frag(73) : warning C7050: "reflect_result" might be used before being initialized