This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Assets内の全MaterialのShaderを一括で置換するEditor拡張 | |
* 使い方 | |
* 1.Editorディレクトリ配下にScriptを配置 | |
* 2.AssetsにShaderReplaceが追加されるので、それを選択するとWindowsが開く | |
* 3.Beforeに置換前のShader、Afterに置換後のShaderを選択 | |
* 4.Replaceボタンを押すと全部のMaterialでShaderを置換 | |
*/ | |
using System.Linq; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2019 SakaIT | |
# Released under the MIT license | |
# https://gist.github.com/SakaITa/f56d3fa36f567205f21f7816489b82a7 | |
trigger: | |
- master | |
pool: | |
vmImage: 'vs2017-win2016' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# FBX ファイルをメッシュ結合して一つの FBX ファイルにする Blender 用スクリプト | |
# 引数で指定したフォルダ内のすべての FBX をインポートして、 | |
# すべてのメッシュを一つに結合し、一つの FBX ファイルにエクスポートする | |
# | |
# 呼び出し例 | |
# blender --background --python ./merge.py -- --folder fbxfolder | |
# | |
# bpy = Blender Python。各コマンドはこのモジュールに紐付いている | |
import bpy | |
import glob |