forked from Dynamitos/Seele
implemented basic shader expressions
This commit is contained in:
1 parent
48fa098546
commit
f46262b66e
67 files changed
+1390
-852
No files matched your search
@@ -20,7 +20,7 @@ struct BlinnPhong : IBRDF
|
||||
float3 h = normalize(light + view);
|
||||
float nDotH = saturate(dot(normal, h));
|
||||
|
||||
return baseColor * nDotL + lightColor * specular * pow(nDotH, sheen);
|
||||
return baseColor;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user