viewer#1501 Crash initiating screenSpaceReflUtil.glsl

Error: Function return is not matching type
master
Andrey Kleshchev 2024-05-17 15:45:07 +03:00 committed by Andrey Kleshchev
parent 36de04b212
commit e1493a10b4
1 changed files with 2 additions and 2 deletions

View File

@ -27,11 +27,11 @@
float random (vec2 uv)
{
return 0;
return 0.f;
}
float tapScreenSpaceReflection(int totalSamples, vec2 tc, vec3 viewPos, vec3 n, inout vec4 collectedColor, sampler2D source, float glossiness)
{
collectedColor = vec4(0);
return 0;
return 0.f;
}