Skip to content

Conversation

@tapple
Copy link

@tapple tapple commented Dec 11, 2024

My artist friend asked me how to get your show/hide examples to work with PBR prims. I have made that update in my own script, but, never shared it. Here's a fix to your sample scripts. I also added these snippets to the lsl wiki:

@tapple tapple changed the title add PBR code to show/hide examples Update show/hide example scripts to support PBR Dec 12, 2024
@tapple tapple changed the title Update show/hide example scripts to support PBR Update the show/hide example scripts to support PBR Dec 12, 2024
@codeviolet
Copy link
Member

Thanks @tapple for this addition. While the example scripts don't aim to cover every case I think your addition is worthwhile. Before we commit the PR I think we need to add a comment to each new line noting it's purpose, i.e.
// llSetLinkAlpha will have no visible effect on faces with a PBR material. This line will work on faces with a PBR material

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants