Skip to content

Normal maps not correctly handled in CompressedImageSaver #24119

@tbillington

Description

@tbillington

CompressedImageSaver (post #23567?) doesn't handle normals maps properly, making this issue on behalf of @JMS55 so we don't forget it (discord thread).

Jasmine (JMS55) — 02:16
Hmm good point. You need to set is_srgb: false in the meta file, but iirc cwfitzgerald there's no way of telling ctt something's a normal map, right?
Because iirc you want to use a different filter than lancoz for normal map mips?
cwfitzgerald — 02:17
There nothing to be done on ctt's side, the user can adjust color space and if you want to adjust downscale parameters I guess
I don't know anything in particular about downscaling normal maps
Jasmine (JMS55) — 02:18
Yeah I think Bevy's usage is actually wrong
There's no way to garuntee that the normal is actually a normalized unit vector after compressing

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-AssetsLoad files from disk to use for things like images, models, and soundsA-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorS-BlockedThis cannot move forward until something else changes

    Type

    No type

    Projects

    Status

    Needs SME Triage

    Status

    Needs SME Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions