Candela icon indicating copy to clipboard operation
Candela copied to clipboard

Bunch of shader errors

Open Firesampo opened this issue 1 year ago • 7 comments

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?

Firesampo avatar Mar 15 '23 21:03 Firesampo

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!

XReaper95 avatar Mar 16 '23 03:03 XReaper95

@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.

swr06 avatar Mar 16 '23 14:03 swr06

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.

Firesampo avatar Mar 16 '23 14:03 Firesampo

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

swr06 avatar Mar 16 '23 17:03 swr06

Sent a discord request (Sampoman)

Firesampo avatar Mar 16 '23 19:03 Firesampo

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

swr06 avatar Mar 16 '23 21:03 swr06

I did, try adding Sampoman#3096

Firesampo avatar Mar 16 '23 22:03 Firesampo