feat(instances): Support normals in vertex deformation

Đang mở
#26 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
57/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
computer-graphics

Hướng nghiên cứu

Start by tracing the instance deformation path that carries mesh-local positions into the lighting surface, then inspect how the shadow pass consumes deformed positions. Add support for a kind to provide a mesh-local deformed normal alongside position while retaining the mesh or pose normal for position-only deformations. Done means lighting uses the supplied normal and the shadow pass still depends only on position; the issue names no files or tests.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

deform can bend a mesh, but lighting still uses the normals from the original mesh or pose. This is visible on wind-bent foliage and other smooth deformations. Passing a corrected normal through carry and surface adds an interpolant and makes the kind replace its surface just to change a normal.

Let a kind supply a deformed normal in mesh-local space alongside the position. Keep the normal from the mesh or pose for existing position-only deformations. The shadow pass only needs the position.

Ngôn ngữ chính
TypeScript
Star
69
Fork
7
Merge trung bình
1 giờ 48 phút
Pull request đã merge (30 ngày)
15

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của software-mansion/typegpu-kit

Tất cả issue của software-mansion/typegpu-kit

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.