Skip to content

Feature request: point lights, opacity, and vertex color textured triangles in the 3D renderer #45

Description

@XanCraft21

I would have posted this in discussions, but it is not available to me here.

Hello, i really like this library, and i am planning to use it for a project. There are a few features i would like added if possible.

The first feature i would like to have added is point lights. I can possibly simulate this using directional lights and some math for now, but if possible i think point lights will be great for making a scene with a lamp on a table in a room.

The second feature is opacity. This feature already exists for the 2D image api, but not for the 3D renderer. I would try to combine the 3D and 2D APIs to make transparent models, but then i would lose lighting and z buffer functionality. I think it would be cool if both textured and vertex color triangles could be transparent to make windows and glass models.

The last feature is textured vertex color triangles. We already have textured and vertex color triangles separately, but not both together. I would love it if we could make a rainbow wooden crate without doing any photoshop work.

I hope it won’t be too hard to add these new features. Thank you for taking the time to read this, looking forward to your reply.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions