Open JotaPe opened 10 months ago
ORL Standard.orlshader
Line 118 From:
albedo.rgb = albedo[_AlbedoChannel].xxx;
to:
albedo.rgb = albedo[_AlbedoChannel - 1].xxx;
Figured it out when using your shader to make materials with "advanced channel packing" where the blue channel is the albedo.
Oh right, because default is RGB, so i need to offset it by 1! Good catch, and thank you for the report, I'll throw this into the next release
Describe the bug Because of indexing being wrong, the albedo channel dropdown is selecting the wrong channel
To Reproduce 1 - Use the Standard Orels Shader 2 - Put a texture on the Albedo 3 - Select a channel
Expected behavior Select the correct channel for albedo colors
Screenshots
Texture with this blue channel
Blue Channel selected on material, but instead is selecting the alpha channel
Environment:
Additional context Would be a easy fix, just minus 1 on the _AlbedoChannel in the shader source code, already did that on my version.
From SyncLinear.com | ORL-67