secondlife / secondlife/viewer

Blinn-Phong issue:: Environment Sunlight no longer cause reflection on objects with (Transparent Diffuse Texture + Specular ). Still works if prim light is present.

Open
#1,900 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

add-to-regression-test bug documentation stale team:viewer
Dominant language
C++
Stars
299
Forks
146
Avg merge
1d 9h
Merged PRs (30d)
88

Description

Sunlight/Moonlight anything to do with the current environmental sky lighting no longer causes this reflection shown in my uploaded example.
blinn-phong-example

It is still possible to get this reflection from neighboring light sources, like prim lights.

Can this lighting effect be reintroduced into the environment lighting once more?

Reasons for this technique being great is:

~Avatars Eye Lenses (Create a dome over the eye to act only as a glossy wetlayer) which allows you to add normals and other depth to the lower layers of the eyes.

~Any object that requires a 100% see through yet able to create a glossy effect without looking like a opaque window.

There are many use cases for this but it brings great sadness that this method if being widdled away with latest tech and pbr can not even produce this glossy effect without introducing some opacity to the texture looking like a opaque window..

Please right now its still half working, being able to work with prim lights. But as a creator i am getting growing reports of my creations now longer giving this glossy effect, due to the environmental lighting no longer having a effect at all on it.

https://secondlife.canny.io/admin/board/bug-reports/p/blinn-phong-issue-environment-sunlight-no-longer-cause-reflection-on-objects-wit

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Blinn-Phong example with a transparent diffuse texture and specular enabled, comparing environmental Sunlight/Moonlight with neighboring prim lights. Trace the viewer's environment-lighting and reflection path; done means the glossy reflection returns for environmental lighting without requiring a prim light or adding opacity.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.