Closed Caffeinew closed 2 weeks ago
While testing myself I noticed that while it didn't like the lightmap shader it did accept the tex lightmap one
While testing myself I noticed that while it didn't like the lightmap shader it did accept the tex lightmap one
Neither getPositionColorLightmapShader or getPositionColorTexLightmapShader work for me for particle render for atomic laser.
POSITION_COLOR_LIGHTMAP does work for the other ones tho
In my testing I had to change the vertex of the ParticleRenderType in the ParticleBeam class away from Particle
A wip video showing it somewhat working in my testing but not fully as it seemed to stop 4,5 blocks outwards
https://github.com/user-attachments/assets/ed4055c8-c1c0-49a6-8d9b-3df996c6e81a
But your lasers look better than my lasers did during my attempts
The color being wrong is probably an AA bug but might as well fix it if possible ;)
Wonderful! As someone who can’t even look at this game without shaders, I really appreciate this.
I basically just threw stuff at rendering code untill something worked. Looks like iris doesn't like lightmaps in shaders, so i'm just emulating a similar look with alpha.
Alternatively different render code can be used when iris is active
Also, I think with some changes the atomic thingie laser can use the basic laser rendering fn instead of particle one, but that's like actual work, so I cba.
before:
after: