Danro/Assets/Materials/Fire_Material.mat
Danil Iarosh 150f84decd
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
Make fire shader more cartoonish like the reference
- Создан URP HLSL шейдер CartoonFire.shader с процедурным FBM-шумом искажения и 3-ступенчатой постеризацией цветов (красный/оранжевый/желтый).
- Создан редакторский скрипт ApplyCartoonFireShader.cs для быстрого переключения материала.
- Материал Fire_Material.mat обновлен и переведен на новый мультяшный шейдер с настроенными параметрами.
2026-08-06 13:54:29 +03:00

76 lines
2.2 KiB
Plaintext

%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Fire_Material
m_Shader: {fileID: 4800000, guid: 8b5db5774fae5da4e8d1096b76b05ba6, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 1
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 2800000, guid: 06ce35244e9d24a4788799b0cc066827, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _Texture2D:
m_Texture: {fileID: 2800000, guid: 06ce35244e9d24a4788799b0cc066827, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _DistortStrength: 0.08
- _Fade: 0.4
- _FireCellsCount: 5
- _NoiseScale: 15
- _ThresholdInner: 0.58
- _ThresholdMid: 0.38
- _ThresholdOuter: 0.15
m_Colors:
- _Color: {r: 2, g: 2, b: 2, a: 1}
- _ColorInner: {r: 2.2, g: 0.95, b: 0.15, a: 1}
- _ColorMid: {r: 1.8, g: 0.55, b: 0, a: 1}
- _ColorOuter: {r: 1.5, g: 0.2, b: 0.1, a: 1}
- _Speed: {r: 0, g: -1.8, b: 0, a: 0}
m_BuildTextureStacks: []
m_AllowLocking: 1
--- !u!114 &3751385830976373873
MonoBehaviour:
m_ObjectHideFlags: 11
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion
version: 10