swr06 / Candela

Pathtraced Realtime Engine
GNU General Public License v3.0
68 stars 5 forks source link

Bunch of shader errors #2

Open Firesampo opened 1 year ago

Firesampo commented 1 year ago

Hi,

This looks really promising. I tried to run it thru VS2022, unfortunately without success.

First I got an error about missing assimp-vc142mt.dll but I got that fixed by copying it directly to the output directory (did the same also for res/ and models/ folders), is this the expected way to run this?

Anyway, after that I got several shader compile errors, trying to run this on RTX 2080 based laptop.

errors

Which VS version are you using?

XReaper95 commented 1 year ago

I fixed it by renaming the global function texture2DLod to textureLod in Core/Shaders/FXAA311.glsl. Also better copy the executable from the build folder into the root of the project (where Candela.sln is at). Some build instructions would be nice haha. This project looks amazing, congrats to the author!

swr06 commented 1 year ago

@XReaper95 Thankyou! I will definitely add some build instructions haha

@Firesampo Were you able to build this? If not, please add me on discord (swr#7777) I'd like to debug the issues further and push some fixes.

Firesampo commented 1 year ago

Yeah, got it to compile with the abovementioned textureLod + copying the exe trick - now it runs, but it flickers like crazy. Still getting these issues in the console (+ a zillion other errors, but these are the first ones):

Screenshot 2023-03-16 164432

I'll hit you up on Discord at some point today.

swr06 commented 1 year ago

@Firesampo Thanks for bringing those up, I really want to try fixing those.

Firesampo commented 1 year ago

Sent a discord request (Sampoman)

swr06 commented 1 year ago

@Firesampo I didn't recieve it, hm. Make sure you sent it to swr#7777

Firesampo commented 1 year ago

I did, try adding Sampoman#3096