Skip to content

Example Porting issue: Normal Mapping #11

@hYdos

Description

@hYdos

I'm having trouble porting the Normal Mapping example from C to Rust to test the new bindings. The only difference is in image and shader loading and I can't really put my finger on whats wrong. For some reason the 3ds freezes at C3D_FrameBegin

https://gist.github.com/hYdos/c260e0afe72200a4872e7f9000ddae5d - main.rs
https://gist.github.com/hYdos/8f4c4bea934714be008d7157b1512c79 - util.rs

Wondering if you guys would have more knowledge to whats going on

Assets should not be the issue as i use the command from the bitmap example in rust3ds/citru-rs to generate textures and use picasso to generate the shader bytes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions