Added adaptor (not implement yet.)

master
LH 6 years ago
parent df32609c70
commit 0d878b63b1
  1. 92
      Runtime/OilPaintingAdaptor.cs
  2. 11
      Runtime/OilPaintingAdaptor.cs.meta

@ -0,0 +1,92 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Flockno
{
//[RequireComponent(typeof(Flockaroo.OilPaintingEffect))]
public class OilPaintingAdaptor : MonoBehaviour
{
/*
[System.Serializable]
public class Parameters
{
[Header("Common")]
[Range(0.0f, 1.0f)]
public float EffectFade = 0.0f;
[Range(0.0f, 1.0f)]
public float PanFade = 0.0f;
[Header("Source")]
[Range(0.0f, 2.0f)]
public float SrcBright = 1.0f;
[Range(0.0f, 2.0f)]
public float SrcContrast = 1.4f;
[Range(0.0f, 4.0f)]
public float SrcColor = 1.0f;
[Range(0.0f, 1.0f)]
public float SrcBlur = 0.0f;
[Header("Effect")]
[Range(0.0f, 1.0f)]
public float BrushDetail = 0.1f;
[Range(0.0f, 1.0f)]
public float BrushFill = 0.5f;
[Range(5000, 200000)]
public int NumStrokes = 0x8000;
[Range(0.5f, 0.95f)]
public float LayerScale = 0.8f;
[Range(0.0f, 1.0f)]
public float Canvas = 0.4f;
[Range(0.0f, 100.0f)]
public float FlickerFreq = 15.0f;
[Range(0.0f, 1.0f)]
public float FlickerStrength = 0.0f;
[Range(0.0f, 360.0f)]
public float LightAng = 135.0f;
[Range(0.0f, 90.0f)]
public float LightOffs = 60.0f;
[Range(0.0f, 1.0f)]
public float PaintDiff = 0.15f;
[Range(0.0f, 1.0f)]
public float PaintSpec = 0.15f;
[Range(0.0f, 1.0f)]
public float PaintShiny = 0.5f;
[Range(0.0f, 2.0f)]
public float ColorSpread = 0.0f;
[Range(0.0f, 120.0f)]
public float ScreenFOV = 0.0f;
[Range(0.0f, 360.0f)]
public float StrokeAng = 0.0f;
[Range(-1.0f, 1.0f)]
public float StrokeBend = -1.0f;
[Range(0.0f, 1.0f)]
public float StrokeDir = 0.0f;
[Range(0.0f, 1.0f)]
public float StrokeContour = 1.0f;
[Range(0.0f, 16.0f)]
public float MultiStroke = 6.0f;
[Range(0.0f, 100000.0f)]
public float strokeSeed = 10.0f;
[Range(0.0f, 1.0f)]
public float Vignette = 1.0f;
}
Flockaroo.OilPaintingEffect effect;
*/
// Start is called before the first frame update
void Start()
{
//effect = GetComponent<Flockaroo.OilPaintingEffect>();
}
// Update is called once per frame
void Update()
{
}
}
}

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 89f320075079ce14b95502f8c1d4456d
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
Loading…
Cancel
Save