[Feature Request/Improvement on PBR Consistency] IOR value of UnityGLTF shader must apply to non-transparent material.

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

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

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
csharp, unity
Lĩnh vực
computer-graphics

Hướng nghiên cứu

Không có tệp mã nguồn hoặc bài kiểm thử nào được nêu tên. Hãy bắt đầu bằng cách xác định phần xử lý shader và material của UnityGLTF đối với IOR, sau đó so sánh hành vi của nó với các ví dụ Blender được mô tả; hoàn thành khi IOR ảnh hưởng rõ ràng đến các material không trong suốt mà không yêu cầu Volume, đồng thời vẫn giữ nguyên hành vi trong suốt hiện có.

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

Mô tả

Describe the bug 💬

This question/request first came up during another issue ticket (https://github.com/KhronosGroup/UnityGLTF/issues/857) but it was not directly related so I'm posting it as a separate feature request for your consideration. I believe this would increase the compatibility and visual consistency between UnityGLTF and other PBR software such as Blender.

I'm not a graphical programming expert so please forgive my way of describing this.

I think the implementation of UnityGLTF shader considers IOR as being a transparency property but in PBR systems, IOR value controls the base color of a non-transparent material as shown in the Blender screenshots below.

UnityGLTF Readme documentation mentions enabling Transmission and Volume (optional). When I enable Transmission and increase its value, I still don't see any effect on the material while changing the IOR value. Enabling Volume finally starts to show the IOR effect on the material... BUT...

I was expecting IOR to work on NON-TRANSPARENT materials similar to what I see in Blender. I am not expert on these graphical stuff but, as far as I can observe in blender, IOR is not only related to the transparency of the object. It affects the base color of the material and specular strength even for non-transparent materials.

Image
Image
Steps to reproduce 🔢

This is a feature request.

Files to reproduce the issue ♻

No response

Editor Version 🎲

Other (Provide details below)

Render Pipeline and version

Not related

UnityGLTF Version

Not related

Operating System 👩‍💻

Other (Provide details below)

When does this problem happen?
  • Editor Import
  • Runtime Import
  • Editor Export
  • Runtime Export
Additional Info 📜

No response

Validations 🩹
Ngôn ngữ chính
C#
Star
2.3k
Fork
539
Merge trung bình
3 ngày 15 giờ
Pull request đã merge (30 ngày)
2

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 KhronosGroup/UnityGLTF

Tất cả issue của KhronosGroup/UnityGLTF

Issue tương tự

Thêm issue về C#

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.