문제

I've been working with the depth buffer in OpenGL (JOGL) to ensure certain items are rendered in front of others by disabling the depth buffer (detailed in my previous question Java OpenGL saving depth buffer).

This works, except when I set the color of an item that is being drawn when the depth test is disabled, none of the material shininess shows up. The item is rendered as a darker version of the original color (it seems like there is no lighting effect really applied to it). Is there a reason why this would be happening? and how might I prevent this?

thanks, Jeff

도움이 되었습니까?

해결책

마스터 페이지를 변경해야하기 때문에 마스터 페이지를 갤러리에 업로드 한 다음 사이트 작업, 사이트 설정, 마스터 페이지로 이동하여 기본 마스터 페이지를 방금 업로드 한 다음 사이트를 저장 한 다음 사이트를 저장합니다.템플릿으로 사이트 정의가 더 이상 필요하지 않았습니다.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top