Cool VL Viewer forum
http://sldev.free.fr/forum/

PBR and textures with alpha channel (1.31.0.12)
http://sldev.free.fr/forum/viewtopic.php?f=4&t=2411
Page 1 of 1

Author:  ZaneZimer [ 2023-11-05 09:37:21 ]
Post subject:  PBR and textures with alpha channel (1.31.0.12)

I have noticed that with the 1.31.0.12 release and PBR enabled, any object with a face having a texture containing an alpha channel is completely invisible. This can be demonstrated by rezzing a cube and then setting its texture to the Library's White - Transparent (semi-opaque). In version, 1.31.0.11, the cube will render as expected as a 'ghostly' or 'smokey' partially see-through cube. In 1.31.0.12, it is completely invisible. The behavior shows up with shadows enabled, either sun & moon or all.
Viewer info:
Code:
Cool VL Viewer v1.31.0.12, Nov  4 2023 09:25:15
Release notes

You are at 255274.1, 256338.6, 34.9  in Morris located at
simhost-08d12445908374f54.agni.secondlife.io (34.208.62.104:13001)
Alias: ec2-34-208-62-104.us-west-2.compute.amazonaws.com
Second Life RC LeTigre 2023-10-11.6488746491
Release notes

CPU: AMD Ryzen 7 3700X 8-Core Processor (4324 MHz)
Memory: 64205MB
OS version: Linux-x86_64 v6.5.9-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 25 20:40:49 UTC 2023
Memory manager: jemalloc v5.3.1-20231028
Graphics: NVIDIA GEFORCE GTX 1080 TI/PCIE/SSE2
OpenGL version: 4.6.0 NVIDIA 545.29.02
Detected VRAM: 11264MB
J2C decoder: OpenJPEG: 1.4.0.635f
Audio driver: OpenAL v1.1 ALSOFT 1.23.1 (OpenAL Soft: OpenAL Soft)
Networking backend: libcurl 7.47.0/OpenSSL 1.0.2u/zlib 1.2.13.zlib-ng
Browser plugin: Dullahan 1.13.1/CEF 118.0.1/Chromium 118.0.5993.22
Packets lost: 0/11754 (0.0%)

Built with: GCC v7.5.0
Compiler-generated maths: SSE2.

Compile flags used for this build:
-O3 -fno-delete-null-pointer-checks -fno-ipa-cp-clone -fno-align-labels -fno-align-loops -fsched-pressure -frename-registers -fweb -fira-hoist-pressure -DNDEBUG -std=c++17 -fno-stack-protector -U_FORTIFY_SOURCE -fno-threadsafe-statics -fPIC -pipe -g -gdwarf-4 -fno-var-tracking-assignments -fexceptions -fno-strict-aliasing -fvisibility=hidden -fsigned-char -m64 -mfpmath=sse -fno-math-errno -fno-trapping-math -pthread  -DLL_LINUX=1 -DLL_JEMALLOC=1 -DLL_FMOD=1 -DLL_OPENAL=1


Attachments:
CoolVLViewer.zip [36.51 KiB]
Downloaded 41 times
PBR - no shadows.jpg
PBR - no shadows.jpg [ 55.89 KiB | Viewed 1581 times ]
PBR - with shadows.jpg
PBR - with shadows.jpg [ 59.93 KiB | Viewed 1581 times ]

Author:  Henri Beauchamp [ 2023-11-05 13:08:54 ]
Post subject:  Re: PBR and textures with alpha channel (1.31.0.12)

Yep, a consequence of one of the latest (not yet released) "fixes" that went into LL's PBR viewer, and that decreased the usable number of texture channels (mainly for macOS issues). Reverted for next release.

If you compile the viewer yourself, here is the patch to apply to current sources:
Attachment:
insufficient-texture-channels-patch.txt [679 Bytes]
Downloaded 52 times

Author:  ZaneZimer [ 2023-11-05 13:26:05 ]
Post subject:  Re: PBR and textures with alpha channel (1.31.0.12)

Thanks for the patch. Even though experimental, I have been using PBR pretty consistently. I know there is little to no content in-world yet, but figured I'd help knock out any issues before wider adoption.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/