mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-11 05:19:14 -05:00
Merge pull request #1182 from ousttrue/fix/glb_material_urp_switch
URP と Builtin が逆
This commit is contained in:
@@ -27,10 +27,10 @@ namespace UniGLTF
|
||||
switch (renderPipeline)
|
||||
{
|
||||
case RenderPipelineTypes.BuiltinRenderPipeline:
|
||||
return new GltfUrpMaterialDescriptorGenerator();
|
||||
return new GltfMaterialDescriptorGenerator();
|
||||
|
||||
case RenderPipelineTypes.UniversalRenderPipeline:
|
||||
return new GltfMaterialDescriptorGenerator();
|
||||
return new GltfUrpMaterialDescriptorGenerator();
|
||||
|
||||
default:
|
||||
throw new System.NotImplementedException();
|
||||
|
||||
Reference in New Issue
Block a user