Despatra / Phoxel

A path traced shader for Optifine or Iris. With easy to use profiles. Or if you like, fully customizable experience.
https://modrinth.com/project/phoxel
6 stars 0 forks source link

Render mode doesnt work #27

Open SumLittleGuy opened 1 month ago

SumLittleGuy commented 1 month ago

When i go to shader settings and turn on render mode, shader "turns off" and i get a message in chat "The shaderpack failed to load! Please report the error to the shader developer."

Steps to Reproduce: Just turn on render mode

Additional context There are no modes other than sodium and iris The error is composite.fsh: composite.fsh: 0(322) : error C1503: undefined variable "AuroraSamples" 0(322) : error C1503: undefined variable "AuroraSamples" 0(322) : error C1503: undefined variable "AuroraSamples"

Screenshots:

Minecraft_ 1 21 3 - Singleplayer 29 10 2024 13_33_38 Minecraft_ 1 21 3 - Singleplayer 29 10 2024 13_33_48 Minecraft_ 1 21 3 - Singleplayer 29 10 2024 13_37_11

Despatra commented 1 month ago

Hey, thanks for letting me know. I actually encountered this issue, it was just a goofy mess up on my end! It will be fixed soon in the next update, but if you want to fix it you can add the line #define AuroraSamples 8 after #ifdef RenderMode in Phoxel/shaders/includes/settings.glsl (should be towards the top of the file)

Edit: unrelated quick note, noticed VPT was in shaderpacks, just in case you don't know it's a resourcepack. Feel free to completely disregard this if that is intentional.