Camera type

This commit is contained in:
Lubos Lenco 2015-11-07 20:45:08 +01:00
parent cd7c01de2e
commit 60e4d28141
2 changed files with 5 additions and 4 deletions

View file

@ -87,10 +87,10 @@ float LightingFuncGGX_OPT3(vec3 N, vec3 V, vec3 L, float roughness, float F0) {
void kore() {
float visibility = 1.0;
if (receiveShadow && lPos.w > 0.0) {
visibility = shadowSimple(lPos);
visibility = (visibility * 0.8) + 0.2;
}
//if (receiveShadow && lPos.w > 0.0) {
// visibility = shadowSimple(lPos);
// visibility = (visibility * 0.8) + 0.2;
//}
vec4 outColor;
vec3 t = pow(matColor.rgb, vec3(2.2));

View file

@ -1798,6 +1798,7 @@ class LueExporter(bpy.types.Operator, ExportHelper):
o.frustum_culling = False
o.pipeline = "blender_resource/blender_pipeline"
o.clear_color = [0.0, 0.0, 0.0, 1.0]
o.type = "perspective"
self.output.camera_resources.append(o)