Okay, I'm using a material with a couple of OSL shaders being used to distort UVs for parallax mapping, and I'm running into some strange behavior/bugs.
The first issue - using a 2nd UV channel in the material. It works in CPU:
![Click image for larger version
Name: Annotation 2020-06-22 094833.jpg
Views: 1015
Size: 331.8 KB
ID: 1075529](filedata/fetch?id=1075529&d=1605289144&type=medium)
But not in GPU. In GPU mode I get something that looks like it's using some sort of "default" channel mapping?
![Click image for larger version
Name: Annotation 2020-06-22 100624.jpg
Views: 851
Size: 313.2 KB
ID: 1075532](filedata/fetch?id=1075532&d=1708747517&type=medium)
When I remove the 2nd channel usage, it goes back to using the 1st channel, but you get obvious stamping of the interiors:
![Click image for larger version
Name: Annotation 2020-06-22 100946.jpg
Views: 830
Size: 311.3 KB
ID: 1075533](filedata/fetch?id=1075533&d=1708747517&type=medium)
I'd really like access to that 2nd channel.
The second issue is that Normal mapping is not working in RTX mode. Here's just the normal and opacity map in CPU:
![Click image for larger version
Name: Annotation 2020-06-22 095149.jpg
Views: 840
Size: 145.4 KB
ID: 1075531](filedata/fetch?id=1075531&d=1708747517&type=medium)
Nice shading, fits the normals, works great.
Now, same shader in GPU/RTX:
![Click image for larger version
Name: Annotation 2020-06-22 095722.jpg
Views: 834
Size: 39.5 KB
ID: 1075530](filedata/fetch?id=1075530&d=1708747517&type=medium)
Nothing.
Here are my test scenes.
GPU UV#1 (normals broken):
https://drive.google.com/file/d/1n_c...ew?usp=sharing
GPU UV#2 (normals broken, UVs broken):
https://drive.google.com/file/d/1-CL...ew?usp=sharing
CPU UV#2 (normals ok):
https://drive.google.com/file/d/1RQY...ew?usp=sharing
I'm also seeing massive progressive slowdown in rendering these tests - as described here:
https://forums.chaosgroup.com/forum/...n-rtx-gpu-mode
Please help.![big grin](https://forums.chaos.com/core/images/smilies/biggrin.gif)
Thanks!
The first issue - using a 2nd UV channel in the material. It works in CPU:
But not in GPU. In GPU mode I get something that looks like it's using some sort of "default" channel mapping?
When I remove the 2nd channel usage, it goes back to using the 1st channel, but you get obvious stamping of the interiors:
I'd really like access to that 2nd channel.
The second issue is that Normal mapping is not working in RTX mode. Here's just the normal and opacity map in CPU:
Nice shading, fits the normals, works great.
Now, same shader in GPU/RTX:
Nothing.
Here are my test scenes.
GPU UV#1 (normals broken):
https://drive.google.com/file/d/1n_c...ew?usp=sharing
GPU UV#2 (normals broken, UVs broken):
https://drive.google.com/file/d/1-CL...ew?usp=sharing
CPU UV#2 (normals ok):
https://drive.google.com/file/d/1RQY...ew?usp=sharing
I'm also seeing massive progressive slowdown in rendering these tests - as described here:
https://forums.chaosgroup.com/forum/...n-rtx-gpu-mode
Please help.
![big grin](https://forums.chaos.com/core/images/smilies/biggrin.gif)
Thanks!
Comment