|
|
|
|
|
|
return upgraders; |
|
|
|
} |
|
|
|
|
|
|
|
[MenuItem("HDRenderPipeline/Upgrader/Upgrade Materials - Project")] |
|
|
|
[MenuItem("RenderPipeline/HDRenderPipeline/Material Upgraders/Upgrade Standard Materials to Lit Materials - Project Folder", false, 1)] |
|
|
|
[MenuItem("HDRenderPipeline/Upgrader/Upgrade Materials - Selection")] |
|
|
|
[MenuItem("RenderPipeline/HDRenderPipeline/Material Upgraders/Upgrade Standard Materials to Lit Materials - Selection", false, 2)] |
|
|
|
[MenuItem("HDRenderPipeline/Upgrader/Modify Light Intensity for Upgrade - Scene Only")] |
|
|
|
[MenuItem("RenderPipeline/HDRenderPipeline/Material Upgraders/Modify Light Intensity for Upgrade - Scene Only", false, 3)] |
|
|
|
static void UpgradeLights() |
|
|
|
{ |
|
|
|
Light[] lights = Light.GetLights(LightType.Directional, 0); |
|
|
|