Skip to content

Commit

Permalink
Added warning for fur
Browse files Browse the repository at this point in the history
  • Loading branch information
lilxyzw committed Jan 14, 2023
1 parent d8f122e commit b2fe120
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Assets/lilToon/Editor/Resources/lang.txt
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ sLightingPresetDefault Default 通常 디폴트 通常 通常
sLightingPresetStable Stable 安定 안정 稳定 穩定
sLightingPresetSemiMonochrome Semi-monochrome 半モノクロ 세미 모노크롬 半单色 半單色
sHelpRenderingTransparent When two transparent materials overlap, one of them may become invisible. In this case, increase the "Render Queue" value of the material in the foreground to fix the problem. 透過マテリアル同士が重なったときに片方が見えなくなる場合があります。その場合は手前に表示されるマテリアルのRender Queueの値を上げることで改善されます。 투명 Material끼리 겹친 때 한쪽이 보이지 않을 수 있습니다. 이 경우는 앞에 표시되는 머티리얼의 "Render Queue" 값을 올림으로써 수정됩니다. 当两个透明Material重叠时,其中一个可能会变得不可见。这种情况下,通过提高前面显示的材料的"Render Queue"值来修正。 當兩個透明Material重疊時,其中一個可能會變得不可見。這種情況下,通過提高前面顯示的材料的"Render Queue"值來修正。
sHelpRenderingFur Limited features applied to fur parts for performance. ファーでは負荷軽減のためにファー部分に適用される機能が制限されています。 퍼포먼스를 위해 퍼에 적용되는 기능이 제한되어 있습니다. 由于性能原因,应用于毛发的功能受到限制。 由於性能原因,應用於毛髮的功能受到限制。
sHelpTransparentForWorld Setting Render Queue to 2999 or lower for transparent materials can make other materials in the back invisible, causing problems such as clothes and hair to disappear. For world projects, it is recommended to set it above 3000 or turn off ZWrite. 透過マテリアルでRenderQueueを2999以下に設定すると奥にある他のマテリアルを見えなくし、服や髪が消えるなどの問題が発生する可能性があります。ワールド用途であれば3000以上に設定したりZWriteをオフにしたりする設定がオススメです。 투과머티리얼에서 Render Queue 2999 이하로 설정하면 안쪽에 있는 다른 머티리얼을 볼 수 없어 옷이나 머리카락이 사라지는 등의 문제가 발생할 수 있습니다. 월드 용도라면 3000 이상으로 설정하거나 ZWrite를 끄거나 하는 설정을 추천합니다. 如果在透明材质中将Render Queue设置为2999以下,则可能会出现看不见里面的其他材质、衣服和头发消失等问题。如果是World用途的话,推荐设定为3000以上或关闭ZWrite的设定。 如果在透明材質中將Render Queue設置為2999以下,則可能會出現看不見裡面的其他材質、衣服和頭髮消失等問題。如果是World用途的話,推薦設定為3000以上或關閉ZWrite的設定。
sHelpGrabPass Reflection and gem use GrabPass, which can have a significant impact on performance on mobile GPUs. 屈折・宝石はGrabPassを利用するため、モバイル環境においてパフォーマンスに大きな影響を及ぼす可能性があります。 굴절·보석은 GrabPass를 사용하기 때문에 모바일 GPU에서 성능에 큰 영향을 미칠 수 있습니다. 折射和宝石使用GrabPass,因此在移动GPU中可能对性能产生很大影响。 折射和寶石使用GrabPass,因此在移動GPU中可能對性能產生很大影響。
sHelpGeometryShader Geometry shaders do not work on iOS or Mac, so it is recommended to change to another rendering mode. ジオメトリシェーダーはiOSやMacで動作しないため、他レンダリングモードに置き換えることを推奨します。 지오메트리셰이더는 iOS나 Mac에서 작동하지 않으므로 타 렌더링 모드로 변경하는 것이 좋습니다. 由于几何体材质球在iOS或Mac上不起作用,因此建议将其更改为其他渲染模式。 由於幾何體材質球在iOS或Mac上不起作用,因此建議將其更改為其他渲染模式。
Expand Down
4 changes: 4 additions & 0 deletions Assets/lilToon/Editor/lilInspector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4176,6 +4176,10 @@ private void DrawRenderingModeSettings(Material material, string sTransparentMod
vertexLightStrength.floatValue = 1.0f;
}
}
if(renderingModeBuf == RenderingMode.Fur || renderingModeBuf == RenderingMode.FurCutout || renderingModeBuf == RenderingMode.FurTwoPass)
{
EditorGUILayout.HelpBox(GetLoc("sHelpRenderingFur"), MessageType.Warning);
}
if(lilDirectoryManager.ExistsClusterCreatorKit())
{
if(renderingModeBuf == RenderingMode.Refraction || renderingModeBuf == RenderingMode.RefractionBlur || renderingModeBuf == RenderingMode.Gem)
Expand Down

0 comments on commit b2fe120

Please sign in to comment.