mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-03 19:08:34 -06:00
Merge branch 'feature/DUUpdates' into integration/FXAA_Vol_Milkway
This commit is contained in:
@@ -710,14 +710,16 @@ bool RenderableDUMeshes::readSpeckFile() {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (line.substr(0, 4) != "mesh") {
|
||||
std::size_t found = line.find("mesh");
|
||||
if (found == std::string::npos) {
|
||||
//if (line.substr(0, 4) != "mesh") {
|
||||
// we read a line that doesn't belong to the header, so we have to jump back
|
||||
// before the beginning of the current line
|
||||
file.seekg(position);
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
|
||||
if (line.substr(0, 4) == "mesh") {
|
||||
//if (line.substr(0, 4) == "mesh") {
|
||||
// mesh lines are structured as follows:
|
||||
// mesh -t texnum -c colorindex -s style {
|
||||
// where textnum is the index of the texture;
|
||||
|
||||
@@ -104,6 +104,7 @@ Fragment getFragment() {
|
||||
frag.depth = gs_screenSpaceDepth;
|
||||
frag.gPosition = vs_position;
|
||||
frag.gNormal = vec4(0.0, 0.0, 0.0, 1.0);
|
||||
frag.disableLDR2HDR = true;
|
||||
|
||||
return frag;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user