secondlife / jira-archive

2 stars 0 forks source link

[BUG-234992] PBR Materials rotate opposite direction to blinn phong textures #11811

Closed sl-service-account closed 4 months ago

sl-service-account commented 5 months ago

What just happened?

Created a standard color grid in a material. Rotated the material by +90 degrees using "rotation" and the texture rotates in a clockwise direction where as rotating a blinn phong texture by + 90 degrees rotates it anticlockwise

What were you doing when it happened?

Creating some standard building materials for myself

What were you expecting to happen instead?

Rotation of PBR material to match rotation of blinn phong textures

Other information

Original Jira Fields | Field | Value | | ------------- | ------------- | | Issue | BUG-234992 | | Summary | PBR Materials rotate opposite direction to blinn phong textures | | Type | Bug | | Priority | Unset | | Status | Closed | | Resolution | Expected Behavior | | Labels | pbr | | Reporter | North Glenwalker (north.glenwalker) | | Created at | 2024-01-19T16:04:32Z | | Updated at | 2024-01-24T23:04:48Z | ``` { 'Build Id': 'unset', 'Business Unit': ['Platform'], 'Date of First Response': '2024-01-19T12:40:41.455-0600', 'ReOpened Count': 0.0, 'Severity': 'Unset', 'System': 'SL Viewer', 'Target Viewer Version': 'viewer-development', 'What just happened?': 'Created a standard color grid in a material.\r\nRotated the material by +90 degrees using "rotation" and the texture rotates in a clockwise direction where as rotating a blinn phong texture by + 90 degrees rotates it anticlockwise', 'What were you doing when it happened?': 'Creating some standard building materials for myself', 'What were you expecting to happen instead?': 'Rotation of PBR material to match rotation of blinn phong textures', 'Where': 'http://maps.secondlife.com/secondlife/Porcupine/30/201/3611', } ```
sl-service-account commented 5 months ago

North Glenwalker commented at 2024-01-19T16:06:05Z

Forgot to add screenshot - https://gyazo.com/3187df9dbc40555bb7890443d36f9d44

sl-service-account commented 5 months ago

JIRAUSER341268 commented at 2024-01-19T18:40:41Z

Hi North,

This is actually expected behaviour as the glTF materials use a different texture origin to Blinn-Phong.

More info can be found here: https://wiki.secondlife.com/wiki/PBR_Materials#:~:text=as%20of%20v7.0.1.689-,Texture%20Transforms,-With%20PBR%20materials