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

Abierto
#894 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
csharp, unity

Línea de trabajo

No se nombra ningún archivo fuente ni ninguna prueba. Comienza localizando el manejo de shaders y materiales de UnityGLTF para IOR y, a continuación, compara su comportamiento con los ejemplos de Blender descritos; se considera terminado cuando IOR afecta visiblemente a los materiales no transparentes sin requerir Volume, preservando al mismo tiempo el comportamiento de transparencia existente.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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 🩹
Lenguaje dominante
C#
Estrellas
2.3k
Forks
539
Merge medio
3 d 15 h
PR fusionados (30 d)
2

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de KhronosGroup/UnityGLTF

Todos los issues de KhronosGroup/UnityGLTF

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.