Skip to content

Oklcha Colors for PointLights #19652

Closed
Closed
@DaRAGingLunatic

Description

@DaRAGingLunatic

Bevy version

0.16.1 rust nightly 1.89

PointLight or DirectionalLight {color: Color }
This is the third time over numerous months where I have said ok, I'm switching to Oklacha for Colors after digging the colors and getting excited, and then tried to change the light color only to be spun around in a circle and banging my head. Go to a PointLight, go to color, then you can't use it, then it ask you to use a Color, then it says your trying to use an srbga when you should use rgba, but then the rgba doesn't exist anymore, then it says your using a Color when you should be using a specific Bevy color crate Color, then you use that but it still says nope, then it says you're using f32's when it needs to be u8's, then you try finding the rgba_u8 and cant find it, then you start converting f32's as u8's and it says nope again. It's a big circle yaknow and annoying. Then you ask an AI finally for help and it finally gets it right after 4 error explainings. And each time it just makes me not want to attempt Oklcha again.

If you cannot get Bevy to build or run on your machine, please include:

  • the Rust version you're using (you can get this by running cargo --version)
    • Bevy relies on the "latest stable release" of Rust
    • nightly should generally work, but there are sometimes regressions: please let us know!
  • the operating system or browser used, including its version
    • e.g. Windows 10, Ubuntu 18.04, iOS 14

If your bug is rendering-related, copy the adapter info that appears when you run Bevy.

`AdapterInfo { name: "NVIDIA GeForce RTX 2070", vendor: 4318, device: 7938, device_type: DiscreteGpu, backend: Vulkan }`

You should also consider testing the examples of our upstream dependencies to help isolate any setup-specific issue:

  • wgpu for rendering problems
  • winit for input and window management
  • gilrs for gamepad inputs

What you did

Describe how you arrived at the problem. If you can, consider providing a code snippet or link.

What went wrong

If it's not clear, break this out into:

  • what were you expecting?
  • what actually happened?

Additional information

Other information that can be used to further reproduce or isolate the problem.
This commonly includes:

  • screenshots
  • logs
  • theories about what might be going wrong
  • workarounds that you used
  • links to related bugs, PRs or discussions

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ColorColor spaces and color mathA-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorS-Waiting-on-AuthorThe author needs to make changes or address concerns before this can be merged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions