devendrn / newb-x-mcbe

A custom vanilla RenderDragon shader for Minecraft Bedrock
https://devendrn.github.io/newb-shader
MIT License
99 stars 52 forks source link

Errors in vertex.sc #22

Closed xxchizaxx closed 1 month ago

xxchizaxx commented 1 month ago

In the line of the file where this parameter is mentioned

vec3 light = nlActorLighting(a_position, a_normal, World, TileLightColor, OverlayColor, newFog, nether, underWater, end, ViewPositionAndTime.w);

It causes an error to appear when executing the ./build.sh pack command

If this entire line is deleted, the following message will appear Error `light' undeclared

Screenshot_20240713-205939 Screenshot_20240713-210250

devendrn commented 1 month ago

Thanks for letting me know. It should be fixed now.