Merge pull request #6 from baskanov/vulkan-fix-gray-textures
rtx: presumably fix gray textures
This commit is contained in:
commit
edb40ba862
|
@ -491,7 +491,7 @@ void main() {
|
|||
// C += kc * vec3(hash(float(kusok_index)-102.3), hash(float(kusok_index)+15.43), hash(float(kusok_index)+34.));//kusok.emissive.rgb;
|
||||
//}
|
||||
|
||||
kc *= .9;
|
||||
kc *= .9 * baseColor;
|
||||
//const float rough = .4;
|
||||
const float rough = .3;// * hash(.01 * dot(floor((inverse(mat4(transform)) * vec4(pos, 1.))/10.).xyz, vec3(1.)));
|
||||
O = pos;
|
||||
|
|
Loading…
Reference in New Issue