Skip to content

Commit

Permalink
check environment map seperately
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeneren committed Jan 6, 2020
1 parent b546e3a commit 53f6d2b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1306,16 +1306,17 @@ int main(const int argc, const char* argv[])
env_tex_name = ASSET_PATH;
env_tex_name.append(fname);
}
else if(file_extension_env == ".hdr") {
env_tex = true;
env_tex_name = ASSET_PATH;
env_tex_name.append(env_name);
}
else { // No vdb or instance file is given procede with procedural volume
log("No vdb file or an instance file is provided. Continuing with procedural volume", LOG);

}

if (file_extension_env == ".hdr") {
env_tex = true;
env_tex_name = ASSET_PATH;
env_tex_name.append(env_name);
}


if (empty_volume) {

Expand Down

0 comments on commit 53f6d2b

Please sign in to comment.