Skip to content

Conversation

halx99
Copy link
Collaborator

@halx99 halx99 commented Aug 26, 2025

Describe your changes

  • Restore ProgramState::setTextureArray
  • Improve Terrain rendering, use uniform sampler2D u_details[4] to store detailMap textures
  • Improve Terrain rendering, set alphaMap, lightMap dummy texture RHI independent when they are not used
  • Fix Terrain rendering doesn't work when use d3d11
  • Fix vertex attribute binding cache incorrect
  • Use macos-14 for ios ci due to unexpected compile error
  • Upgrade MSL version: 1.2 => 2.0 (requires macos13 and ios 11+) for supporting texture array sampler2D u_details[4]

Issue ticket number and link

#2648

Checklist before requesting a review

For each PR

  • Add Copyright if it missed:
    - "Copyright (c) 2019-present Axmol Engine contributors (see AUTHORS.md)."

  • I have performed a self-review of my code.

    Optional:

    • I have checked readme and add important infos to this PR.
    • I have added/adapted some tests too.

For core/new feature PR

  • I have checked readme and add important infos to this PR.
  • I have added thorough tests.

Axmol 3.x ------------------------------------------------------------

For each 3.x PR

  • Check the '#include "axmol.h"' and replace it with the needed headers.

Use case

Store detailMap textures when rendering terrain

@halx99 halx99 added this to the 3.0.0 milestone Aug 26, 2025
halx99 added 3 commits August 26, 2025 12:49
And  previous revision does't work as expected due to texture binding slots incorrect
@halx99 halx99 linked an issue Aug 26, 2025 that may be closed by this pull request
@halx99 halx99 marked this pull request as ready for review August 26, 2025 14:05
@halx99 halx99 merged commit 1ab111e into wip-v3 Aug 26, 2025
@halx99 halx99 deleted the restore-set-tex-array branch August 26, 2025 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[origin/wip-v3] sampler2DArray
1 participant