Skip to content

Commit

Permalink
buildings data: add PBR settings
Browse files Browse the repository at this point in the history
  • Loading branch information
gwaldron committed Oct 25, 2021
1 parent 16a0e31 commit e6e8167
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/osm_buildings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,15 @@
]]>
</script>
</styles>
<shader>
<![CDATA[
#version 330
#pragma vp_function buildings_frag, fragment
struct OE_PBR { float roughness, ao, metal, brightness, contrast; } oe_pbr;
void buildings_frag(inout vec4 color) {
oe_pbr.roughness = 0.5;
oe_pbr.metal = 0.5;
}
]]>
</shader>
</FeatureModel>

0 comments on commit e6e8167

Please sign in to comment.