File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -787,6 +787,10 @@ U32 render_type_from_string(std::string render_type)
787
787
{
788
788
return LLPipeline::RENDER_TYPE_BUMP;
789
789
}
790
+ else if (" pbr" == render_type)
791
+ {
792
+ return LLPipeline::RENDER_TYPE_GLTF_PBR;
793
+ }
790
794
else
791
795
{
792
796
return 0 ;
Original file line number Diff line number Diff line change @@ -2162,6 +2162,16 @@ function="World.EnvPreset"
2162
2162
function =" Advanced.ToggleRenderType"
2163
2163
parameter =" bump" />
2164
2164
</menu_item_check >
2165
+ <menu_item_check
2166
+ label =" PBR"
2167
+ name =" Rendering Type PBR" >
2168
+ <menu_item_check .on_check
2169
+ function =" Advanced.CheckRenderType"
2170
+ parameter =" pbr" />
2171
+ <menu_item_check .on_click
2172
+ function =" Advanced.ToggleRenderType"
2173
+ parameter =" pbr" />
2174
+ </menu_item_check >
2165
2175
</menu >
2166
2176
<menu
2167
2177
create_jump_keys =" true"
You can’t perform that action at this time.
0 commit comments