Skip to content

Rendering Fluids in fabulous graphics mode GUI doesn't work #23

@shartte

Description

@shartte

I am using the following code to render a Fluid slot (s) in my GUI, which works perfectly in fancy or fast graphics, but is invisible in fabulous graphics.

                List<FluidRenderFace> faces = new ArrayList<>();
                faces.add(FluidRenderFace.createFlatFaceZ(0, 0, 0, 16, 16, 0, 1 / 16., false, false));

                matrices.push();
                matrices.translate(s.x, s.y, 0);

                FluidVolume fluidStack = fs.getFluidStack();
                fluidStack.render(faces, FluidVolumeRenderer.VCPS, matrices);
                FluidVolumeRenderer.VCPS.draw();
                matrices.pop();

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions