Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Metal] update custom_shaders_uniforms example #554

Merged

Commits on Feb 4, 2022

  1. [Metal] update custom_shaders_uniform example

    - Add metal shaders to the custom_shaders_uniforms example
    - Set reflection pair hint for Metal pixel shaders to ensure params are set
    
    Select materials shader language depending on graphics API
    
    - Add a GraphicsAPI property to the private data of Ogre2Material
    - Switch the language used for the GPU program depending on the API
    - Set the default API to OpenGL.
    - To do: missing a method to set the graphics API when creating a material
    
    Signed-off-by: Rhys Mainwaring <[email protected]>
    srmainwaring committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    cf94549 View commit details
    Browse the repository at this point in the history
  2. [Metal] fix codecheck

    - Remove trailing whitespace
    
    Signed-off-by: Rhys Mainwaring <[email protected]>
    srmainwaring committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    2200c0a View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2022

  1. [Metal] add accessor for the graphics API to Ogre2RenderEngine

    - Add an accessor to the Ogre2RenderEngine to retrieve the graphics API
    - Use the new interface to select the shader language in Ogre2Material
    
    Signed-off-by: Rhys Mainwaring <[email protected]>
    srmainwaring committed Feb 5, 2022
    Configuration menu
    Copy the full SHA
    7498432 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2022

  1. [Metal] fix codecheck

    - Resolve enum / function name conflict
    
    Signed-off-by: Rhys Mainwaring <[email protected]>
    srmainwaring committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    ed6f256 View commit details
    Browse the repository at this point in the history