John Nagle

Results 137 comments of John Nagle

Full listing of build attached. What's going on here is that I'm building Rend3, a Rust portable wrapper for Vulkan. Here I'm trying to build it for Windows while running...

Ah. That explains the problem. Thanks. Looks easy to fix for someone who understands the gslang build system. (I don't want to dig into their build system; I'd probably break...

OK, thanks. So all vertices are set up for rigged mesh, whether or not it is needed. 24 more bytes per vertex explains the increase. That's a high cost. Let...

Suggestion: Position (f32x3 = 12 bytes) Normals (f32x3 = 12 bytes) - consider i16x3. Errors wil be subpixel. Tangents (f32x3 = 12 bytes) - consider i16x3. Uv0 (f32x2 = 8...

That sounds very good. Thanks.

Regarding texture memory usage, I now have a better idea of what's going on. The only tool I have for seeing what the GPU is doing is NVidia's X Server...

Here's some more info and screenshots. ![blendfirestorm2](https://user-images.githubusercontent.com/942608/135540604-29bc8187-95d8-4b16-b9e6-5193d74f5c56.png) ![blendfirestorm1](https://user-images.githubusercontent.com/942608/135540606-c17f349e-e175-47b3-bac1-9df0be67483b.png) ![blendproblem](https://user-images.githubusercontent.com/942608/135540623-82f61744-a4b0-4f4b-8e49-4443560a0205.png) These define the problem a bit better. "blendfirestorm1" shows what the image is supposed to look like, rendered by the Firestorm...

I'm still seeing this. Looking through two translucent surfaces produces inconsistent results. Sometimes OK. Sometimes too opaque. Not sure why yet.

![backfacecullingoff](https://user-images.githubusercontent.com/942608/140566134-9e3311a6-6d55-4c4a-9308-efa805efb92c.png) Here's a new piece of info. At least for translucent objects, there is no backface culling. This translucent sign has readable text on both sides. In the Second Life...

![firestorm-no-backface-culling-translucednt](https://user-images.githubusercontent.com/942608/140818935-c4da4b25-5c84-4d73-8d15-57a17388e478.png) Second Life Firestorm viewer, backface culling. ![rend3-no-backface-culling-translucednt](https://user-images.githubusercontent.com/942608/140819428-3f709b18-e7e0-4b5b-b8c3-68954267b6b9.png) Rend3, no backface culling. With no backface culling, some translucent materials go almost opaque.