Implement Texture Loading and Sampling #14

Closed
opened 2026-01-18 14:15:02 +00:00 by akadmin · 0 comments
Owner

Description:
Add texture loading using the image crate and set up texture sampling in shaders with descriptor sets.
Tasks:

  • Add image crate dependency
  • Create texture loading function (PNG, JPG support)
  • Create Vulkan image from loaded texture data
  • Implement image view creation
  • Create sampler with configurable filtering (linear, nearest)
  • Set up descriptor set layout for combined image samplers
  • Update fragment shader to sample textures
  • Create descriptor pool for texture descriptors
  • Test with a simple checkerboard texture

Acceptance Criteria:

Can load common image formats
Textures display correctly on models
Descriptor sets properly bind textures to shaders
Sampling works with different filter modes

Related Issues: Depends on #13
Estimated Time: 2-3 days

Description: Add texture loading using the image crate and set up texture sampling in shaders with descriptor sets. Tasks: - [x] Add image crate dependency - [x] Create texture loading function (PNG, JPG support) - [x] Create Vulkan image from loaded texture data - [x] Implement image view creation - [x] Create sampler with configurable filtering (linear, nearest) - [x] Set up descriptor set layout for combined image samplers - [x] Update fragment shader to sample textures - [x] Create descriptor pool for texture descriptors - [x] Test with a simple checkerboard texture Acceptance Criteria: Can load common image formats Textures display correctly on models Descriptor sets properly bind textures to shaders Sampling works with different filter modes Related Issues: Depends on #13 Estimated Time: 2-3 days
akadmin added this to the Foundation milestone 2026-01-18 14:15:02 +00:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
akadmin/NemesisEngine#14
No description provided.