Phoxel

Phoxel

51.3k Downloads

Render mode doesnt work

SumLittleGuy opened this issue ยท 2 comments

commented

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

  • Graphics Card: RTX 3060 OC Windforce
  • Processor: Intel i7-3770
  • Minecraft Version: 1.21.3
  • Shader Version: Beta 0.5.2
  • Shader Loader: Iris
  • Loader Version: Iris 1.8.0 beta.6+1.21.2-fabric

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

commented

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.

commented

With the new update, all the code was completely rewritten from scratch, therefore all previous issues are pretty much irrelevant. Because of this I'm closing it. Thank you for the contribution anyways!