Commit 9c8b518a authored by JoerivVuuren's avatar JoerivVuuren

Initial commit of switch cams project

parents
/Temp/
/Assets/StreamingAssets/
Thumbs.db
*.apk
*.log
.vs
*.meta
*.pdf
This diff is collapsed.
This diff is collapsed.
Shader "Chromakey/Mask" {
Properties {
_MainTex ("Base (RGB)", 2D) = "white" {}
//_MaskCol ("Mask Color", Color) = (1.0, 0.0, 0.0, 1.0)
}
SubShader {
Tags {"Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent"}
LOD 100
ZWrite Off
Blend SrcAlpha OneMinusSrcAlpha
CGINCLUDE
#include "UnityCG.cginc"
half3 NormalizeColor (half3 color) {
//return color / max(dot(color, half3(1.0f/3.0f)), 0.0001);
return color / dot(color, fixed3(0.5,0.5,0.01));
}
half4 MaskColor (half3 mCol, half3 cCol) {
//half4 d = distance(NormalizeColor(mCol.rgb), NormalizeColor(cCol.rgb));
return ((mCol.g - (mCol.r + mCol.b)) > 0.10 ) ? half4(mCol.rgb,0.0) : half4(mCol.rgb,1.0);
}
ENDCG
Pass {
Lighting Off
//Cull Off ZWrite On Lighting Off Fog { Mode off }
//Blend SrcAlpha OneMinusSrcAlpha
CGPROGRAM
#pragma vertex vert_img
#pragma fragment frag
#pragma fragmentoption ARB_precision_hint_fastest
uniform sampler2D _MainTex;
uniform float4 _MaskCol;
half4 frag (v2f_img i) : COLOR {
half4 col = tex2D(_MainTex, i.uv);
half4 mask = MaskColor(col.rgb, _MaskCol.rgb);
//return col * mask;
return mask;
}
ENDCG
}
}
Fallback off
}
//Shader "Unlit/Chromakey2"
Shader "Unlit/ChromaKey2" {
Properties {
_MainTex ("Base (RGB)", 2D) = "white" {}
_thresh ("Threshold", Range (0, 16)) = 0.8
_slope ("Slope", Range (0, 1)) = 0.2
_keyingColor ("Key Colour", Color) = (1,1,1,1)
}
SubShader {
Tags {"Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent"}
LOD 100
Lighting Off
ZWrite Off
AlphaTest Off
Blend SrcAlpha OneMinusSrcAlpha
Pass {
CGPROGRAM
#pragma vertex vert_img
#pragma fragment frag
#pragma fragmentoption ARB_precision_hint_fastest
sampler2D _MainTex;
float3 _keyingColor;
float _thresh; // 0.8
float _slope; // 0.2
#include "UnityCG.cginc"
float4 frag(v2f_img i) : COLOR {
float3 input_color = tex2D(_MainTex, i.uv).rgb;
float d = abs(length(abs(_keyingColor.rgb - input_color.rgb)));
float edge0 = _thresh * (1.0 - _slope);
float alpha = smoothstep(edge0, _thresh, d);
return float4(input_color, alpha);
}
ENDCG
}
}
FallBack "Unlit"
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{A536B02A-B0B1-4753-8328-17369EF09976}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>FFmpeg.AutoGen</RootNamespace>
<AssemblyName>FFmpeg.AutoGen</AssemblyName>
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PlatformTarget>AnyCPU</PlatformTarget>
<UseVSHostingProcess>true</UseVSHostingProcess>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
</ItemGroup>
<ItemGroup>
<Compile Include="FFmpeg.avcodec.g.cs" />
<Compile Include="FFmpeg.avdevice.g.cs" />
<Compile Include="FFmpeg.avfilter.g.cs" />
<Compile Include="FFmpeg.avformat.g.cs" />
<Compile Include="FFmpeg.avutil.g.cs" />
<Compile Include="FFmpeg.postprocess.g.cs" />
<Compile Include="FFmpeg.swresample.g.cs" />
<Compile Include="FFmpeg.swscale.g.cs" />
<Compile Include="Unresolved.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="FFmpeg.AutoGen.dll.config">
<Gettext-ScanForTranslations>False</Gettext-ScanForTranslations>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<SubType>Designer</SubType>
</None>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
\ No newline at end of file
<configuration>
<dllmap os="osx" dll="avcodec-56" target="/opt/local/lib/libavcodec.56"/>
<dllmap os="osx" dll="avfilter-5" target="/opt/local/lib/libavfilter.5"/>
<dllmap os="osx" dll="swresample-1" target="/opt/local/lib/libswresample.1"/>
<dllmap os="osx" dll="avformat-56" target="/opt/local/lib/libavformat.56"/>
<dllmap os="osx" dll="avutil-54" target="/opt/local/lib/libavutil.54"/>
<dllmap os="osx" dll="swscale-3" target="/opt/local/lib/libswscale.3"/>
<dllmap os="osx" dll="postproc-53" target="/opt/local/lib/libpostproc.53"/>
<dllmap os="osx" dll="avdevice-56" target="/opt/local/lib/libavdevice.56"/>
<dllmap os="linux" dll="avcodec-56" target="libavcodec.56"/>
<dllmap os="linux" dll="avfilter-5" target="libavfilter.5"/>
<dllmap os="linux" dll="swresample-1" target="libswresample.1"/>
<dllmap os="linux" dll="avformat-56" target="libavformat.56"/>
<dllmap os="linux" dll="avutil-54" target="libavutil.54"/>
<dllmap os="linux" dll="swscale-3" target="libswscale.3"/>
<dllmap os="linux" dll="postproc-53" target="libpostproc.53"/>
<dllmap os="linux" dll="avdevice-56" target="libavdevice.56"/>
</configuration>
\ No newline at end of file
This diff is collapsed.
#if UNITY_EDITOR || UNITY_STANDALONE
using System;
using System.Runtime.InteropServices;
namespace FFmpeg.AutoGen
{
public unsafe partial struct AVDictionary
{
}
public unsafe partial struct AVBuffer
{
}
public unsafe partial struct AVBufferPool
{
}
public unsafe partial struct AVBPrint
{
}
public unsafe partial struct AVCodecInternal
{
}
public unsafe partial struct AVCodecDefault
{
}
public unsafe partial struct MpegEncContext
{
}
public unsafe partial struct ReSampleContext
{
}
public unsafe partial struct AVResampleContext
{
}
public unsafe partial struct AVBPrint
{
}
public unsafe partial struct AVDeviceInfoList
{
}
public unsafe partial struct AVDeviceCapabilitiesQuery
{
}
public unsafe partial struct AVCodecTag
{
}
public unsafe partial struct AVStreamInternal
{
}
public unsafe partial struct AVFormatInternal
{
}
public unsafe partial struct AVDeviceRect
{
public int @x;
public int @y;
public int @width;
public int @height;
}
public unsafe partial struct AVDeviceCapabilitiesQuery
{
public AVClass* @av_class;
public AVFormatContext* @device_context;
public AVCodecID @codec;
public AVSampleFormat @sample_format;
public AVPixelFormat @pixel_format;
public int @sample_rate;
public int @channels;
public long @channel_layout;
public int @window_width;
public int @window_height;
public int @frame_width;
public int @frame_height;
public AVRational @fps;
}
public unsafe partial struct AVDeviceInfo
{
public sbyte* @device_name;
public sbyte* @device_description;
}
public unsafe partial struct AVDeviceInfoList
{
public AVDeviceInfo** @devices;
public int @nb_devices;
public int @default_device;
}
public enum AVAppToDevMessageType : int
{
@AV_APP_TO_DEV_NONE = 1313820229,
@AV_APP_TO_DEV_WINDOW_SIZE = 1195724621,
@AV_APP_TO_DEV_WINDOW_REPAINT = 1380274241,
@AV_APP_TO_DEV_PAUSE = 1346458912,
@AV_APP_TO_DEV_PLAY = 1347174745,
@AV_APP_TO_DEV_TOGGLE_PAUSE = 1346458964,
@AV_APP_TO_DEV_SET_VOLUME = 1398165324,
@AV_APP_TO_DEV_MUTE = 541939028,
@AV_APP_TO_DEV_UNMUTE = 1431131476,
@AV_APP_TO_DEV_TOGGLE_MUTE = 1414354260,
@AV_APP_TO_DEV_GET_VOLUME = 1196838732,
@AV_APP_TO_DEV_GET_MUTE = 1196250452,
}
public enum AVDevToAppMessageType : int
{
@AV_DEV_TO_APP_NONE = 1313820229,
@AV_DEV_TO_APP_CREATE_WINDOW_BUFFER = 1111708229,
@AV_DEV_TO_APP_PREPARE_WINDOW_BUFFER = 1112560197,
@AV_DEV_TO_APP_DISPLAY_WINDOW_BUFFER = 1111771475,
@AV_DEV_TO_APP_DESTROY_WINDOW_BUFFER = 1111770451,
@AV_DEV_TO_APP_BUFFER_OVERFLOW = 1112491596,
@AV_DEV_TO_APP_BUFFER_UNDERFLOW = 1112884812,
@AV_DEV_TO_APP_BUFFER_READABLE = 1112687648,
@AV_DEV_TO_APP_BUFFER_WRITABLE = 1113018912,
@AV_DEV_TO_APP_MUTE_STATE_CHANGED = 1129141588,
@AV_DEV_TO_APP_VOLUME_LEVEL_CHANGED = 1129729868,
}
public unsafe static partial class ffmpeg
{
public const int LIBAVDEVICE_VERSION_MAJOR = 57;
public const int LIBAVDEVICE_VERSION_MINOR = 0;
public const int LIBAVDEVICE_VERSION_MICRO = 101;
private const string libavdevice = "avdevice-57";
[DllImport(libavdevice, EntryPoint = "avdevice_version", CallingConvention = CallingConvention.Cdecl)]
public static extern uint avdevice_version();
[DllImport(libavdevice, EntryPoint = "avdevice_configuration", CallingConvention = CallingConvention.Cdecl)]
public static extern string avdevice_configuration();
[DllImport(libavdevice, EntryPoint = "avdevice_license", CallingConvention = CallingConvention.Cdecl)]
public static extern string avdevice_license();
[DllImport(libavdevice, EntryPoint = "avdevice_register_all", CallingConvention = CallingConvention.Cdecl)]
public static extern void avdevice_register_all();
[DllImport(libavdevice, EntryPoint = "av_input_audio_device_next", CallingConvention = CallingConvention.Cdecl)]
public static extern AVInputFormat* av_input_audio_device_next(AVInputFormat* @d);
[DllImport(libavdevice, EntryPoint = "av_input_video_device_next", CallingConvention = CallingConvention.Cdecl)]
public static extern AVInputFormat* av_input_video_device_next(AVInputFormat* @d);
[DllImport(libavdevice, EntryPoint = "av_output_audio_device_next", CallingConvention = CallingConvention.Cdecl)]
public static extern AVOutputFormat* av_output_audio_device_next(AVOutputFormat* @d);
[DllImport(libavdevice, EntryPoint = "av_output_video_device_next", CallingConvention = CallingConvention.Cdecl)]
public static extern AVOutputFormat* av_output_video_device_next(AVOutputFormat* @d);
[DllImport(libavdevice, EntryPoint = "avdevice_app_to_dev_control_message", CallingConvention = CallingConvention.Cdecl)]
public static extern int avdevice_app_to_dev_control_message(AVFormatContext* @s, AVAppToDevMessageType @type, void* @data, ulong @data_size);
[DllImport(libavdevice, EntryPoint = "avdevice_dev_to_app_control_message", CallingConvention = CallingConvention.Cdecl)]
public static extern int avdevice_dev_to_app_control_message(AVFormatContext* @s, AVDevToAppMessageType @type, void* @data, ulong @data_size);
[DllImport(libavdevice, EntryPoint = "avdevice_capabilities_create", CallingConvention = CallingConvention.Cdecl)]
public static extern int avdevice_capabilities_create(AVDeviceCapabilitiesQuery** @caps, AVFormatContext* @s, AVDictionary** @device_options);
[DllImport(libavdevice, EntryPoint = "avdevice_capabilities_free", CallingConvention = CallingConvention.Cdecl)]
public static extern void avdevice_capabilities_free(AVDeviceCapabilitiesQuery** @caps, AVFormatContext* @s);
[DllImport(libavdevice, EntryPoint = "avdevice_list_devices", CallingConvention = CallingConvention.Cdecl)]
public static extern int avdevice_list_devices(AVFormatContext* @s, AVDeviceInfoList** @device_list);
[DllImport(libavdevice, EntryPoint = "avdevice_free_list_devices", CallingConvention = CallingConvention.Cdecl)]
public static extern void avdevice_free_list_devices(AVDeviceInfoList** @device_list);
[DllImport(libavdevice, EntryPoint = "avdevice_list_input_sources", CallingConvention = CallingConvention.Cdecl)]
public static extern int avdevice_list_input_sources(AVInputFormat* @device, [MarshalAs(UnmanagedType.LPStr)] string @device_name, AVDictionary* @device_options, AVDeviceInfoList** @device_list);
[DllImport(libavdevice, EntryPoint = "avdevice_list_output_sinks", CallingConvention = CallingConvention.Cdecl)]
public static extern int avdevice_list_output_sinks(AVOutputFormat* @device, [MarshalAs(UnmanagedType.LPStr)] string @device_name, AVDictionary* @device_options, AVDeviceInfoList** @device_list);
}
}
#endif
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
#if UNITY_EDITOR || UNITY_STANDALONE
using System;
using System.Runtime.InteropServices;
namespace FFmpeg.AutoGen
{
public unsafe partial struct AVBuffer
{
}
public unsafe partial struct AVBufferPool
{
}
public unsafe partial struct AVDictionary
{
}
public unsafe partial struct SwrContext
{
}
public enum SwrDitherType : int
{
@SWR_DITHER_NONE = 0,
@SWR_DITHER_RECTANGULAR = 1,
@SWR_DITHER_TRIANGULAR = 2,
@SWR_DITHER_TRIANGULAR_HIGHPASS = 3,
@SWR_DITHER_NS = 64,
@SWR_DITHER_NS_LIPSHITZ = 65,
@SWR_DITHER_NS_F_WEIGHTED = 66,
@SWR_DITHER_NS_MODIFIED_E_WEIGHTED = 67,
@SWR_DITHER_NS_IMPROVED_E_WEIGHTED = 68,
@SWR_DITHER_NS_SHIBATA = 69,
@SWR_DITHER_NS_LOW_SHIBATA = 70,
@SWR_DITHER_NS_HIGH_SHIBATA = 71,
@SWR_DITHER_NB = 72,
}
public enum SwrEngine : int
{
@SWR_ENGINE_SWR = 0,
@SWR_ENGINE_SOXR = 1,
@SWR_ENGINE_NB = 2,
}
public enum SwrFilterType : int
{
@SWR_FILTER_TYPE_CUBIC = 0,
@SWR_FILTER_TYPE_BLACKMAN_NUTTALL = 1,
@SWR_FILTER_TYPE_KAISER = 2,
}
public unsafe static partial class ffmpeg
{
public const int LIBSWRESAMPLE_VERSION_MAJOR = 2;
public const int LIBSWRESAMPLE_VERSION_MINOR = 0;
public const int LIBSWRESAMPLE_VERSION_MICRO = 101;
public const int SWR_FLAG_RESAMPLE = 1;
#if UNITY_EDITOR_OSX || UNITY_STANDALONE_OSX
private const string libswresample = "EasyMovieTexture";
#else
private const string libswresample = "swresample-2";
#endif
[DllImport(libswresample, EntryPoint = "swr_get_class", CallingConvention = CallingConvention.Cdecl)]
public static extern AVClass* swr_get_class();
[DllImport(libswresample, EntryPoint = "swr_alloc", CallingConvention = CallingConvention.Cdecl)]
public static extern SwrContext* swr_alloc();
[DllImport(libswresample, EntryPoint = "swr_init", CallingConvention = CallingConvention.Cdecl)]
public static extern int swr_init(SwrContext* @s);
[DllImport(libswresample, EntryPoint = "swr_is_initialized", CallingConvention = CallingConvention.Cdecl)]
public static extern int swr_is_initialized(SwrContext* @s);
[DllImport(libswresample, EntryPoint = "swr_alloc_set_opts", CallingConvention = CallingConvention.Cdecl)]
public static extern SwrContext* swr_alloc_set_opts(SwrContext* @s, long @out_ch_layout, AVSampleFormat @out_sample_fmt, int @out_sample_rate, long @in_ch_layout, AVSampleFormat @in_sample_fmt, int @in_sample_rate, int @log_offset, void* @log_ctx);
[DllImport(libswresample, EntryPoint = "swr_free", CallingConvention = CallingConvention.Cdecl)]
public static extern void swr_free(SwrContext** @s);
[DllImport(libswresample, EntryPoint = "swr_close", CallingConvention = CallingConvention.Cdecl)]
public static extern void swr_close(SwrContext* @s);
[DllImport(libswresample, EntryPoint = "swr_convert", CallingConvention = CallingConvention.Cdecl)]
public static extern int swr_convert(SwrContext* @s, sbyte** @out, int @out_count, sbyte** @in, int @in_count);
[DllImport(libswresample, EntryPoint = "swr_next_pts", CallingConvention = CallingConvention.Cdecl)]
public static extern long swr_next_pts(SwrContext* @s, long @pts);
[DllImport(libswresample, EntryPoint = "swr_set_compensation", CallingConvention = CallingConvention.Cdecl)]
public static extern int swr_set_compensation(SwrContext* @s, int @sample_delta, int @compensation_distance);
[DllImport(libswresample, EntryPoint = "swr_set_channel_mapping", CallingConvention = CallingConvention.Cdecl)]
public static extern int swr_set_channel_mapping(SwrContext* @s, int* @channel_map);
[DllImport(libswresample, EntryPoint = "swr_set_matrix", CallingConvention = CallingConvention.Cdecl)]
public static extern int swr_set_matrix(SwrContext* @s, double* @matrix, int @stride);
[DllImport(libswresample, EntryPoint = "swr_drop_output", CallingConvention = CallingConvention.Cdecl)]
public static extern int swr_drop_output(SwrContext* @s, int @count);
[DllImport(libswresample, EntryPoint = "swr_inject_silence", CallingConvention = CallingConvention.Cdecl)]
public static extern int swr_inject_silence(SwrContext* @s, int @count);
[DllImport(libswresample, EntryPoint = "swr_get_delay", CallingConvention = CallingConvention.Cdecl)]
public static extern long swr_get_delay(SwrContext* @s, long @base);
[DllImport(libswresample, EntryPoint = "swr_get_out_samples", CallingConvention = CallingConvention.Cdecl)]
public static extern int swr_get_out_samples(SwrContext* @s, int @in_samples);
[DllImport(libswresample, EntryPoint = "swresample_version", CallingConvention = CallingConvention.Cdecl)]
public static extern uint swresample_version();
[DllImport(libswresample, EntryPoint = "swresample_configuration", CallingConvention = CallingConvention.Cdecl)]
public static extern string swresample_configuration();
[DllImport(libswresample, EntryPoint = "swresample_license", CallingConvention = CallingConvention.Cdecl)]
public static extern string swresample_license();
[DllImport(libswresample, EntryPoint = "swr_convert_frame", CallingConvention = CallingConvention.Cdecl)]
public static extern int swr_convert_frame(SwrContext* @swr, AVFrame* @output, AVFrame* @input);
[DllImport(libswresample, EntryPoint = "swr_config_frame", CallingConvention = CallingConvention.Cdecl)]
public static extern int swr_config_frame(SwrContext* @swr, AVFrame* @out, AVFrame* @in);
}
}
#endif
#if UNITY_EDITOR || UNITY_STANDALONE
using System;
using System.Runtime.InteropServices;
namespace FFmpeg.AutoGen
{
public unsafe partial struct SwsVector
{
public double* @coeff;
public int @length;
}
public unsafe partial struct SwsFilter
{
public SwsVector* @lumH;
public SwsVector* @lumV;
public SwsVector* @chrH;
public SwsVector* @chrV;
}
public unsafe partial struct SwsContext
{
}
public unsafe static partial class ffmpeg
{
public const int LIBSWSCALE_VERSION_MAJOR = 4;
public const int LIBSWSCALE_VERSION_MINOR = 0;
public const int LIBSWSCALE_VERSION_MICRO = 100;
public const int SWS_FAST_BILINEAR = 1;
public const int SWS_BILINEAR = 2;
public const int SWS_BICUBIC = 4;
public const int SWS_X = 8;
public const int SWS_POINT = 0x10;
public const int SWS_AREA = 0x20;
public const int SWS_BICUBLIN = 0x40;
public const int SWS_GAUSS = 0x80;
public const int SWS_SINC = 0x100;
public const int SWS_LANCZOS = 0x200;
public const int SWS_SPLINE = 0x400;
public const int SWS_SRC_V_CHR_DROP_MASK = 0x30000;
public const int SWS_SRC_V_CHR_DROP_SHIFT = 16;
public const int SWS_PARAM_DEFAULT = 123456;
public const int SWS_PRINT_INFO = 0x1000;
public const int SWS_FULL_CHR_H_INT = 0x2000;
public const int SWS_FULL_CHR_H_INP = 0x4000;
public const int SWS_DIRECT_BGR = 0x8000;
public const int SWS_ACCURATE_RND = 0x40000;
public const int SWS_BITEXACT = 0x80000;
public const int SWS_ERROR_DIFFUSION = 0x800000;
public const double SWS_MAX_REDUCE_CUTOFF = 0.002;
public const int SWS_CS_ITU709 = 1;
public const int SWS_CS_FCC = 4;
public const int SWS_CS_ITU601 = 5;
public const int SWS_CS_ITU624 = 5;
public const int SWS_CS_SMPTE170M = 5;
public const int SWS_CS_SMPTE240M = 7;
public const int SWS_CS_DEFAULT = 5;
#if UNITY_EDITOR_OSX || UNITY_STANDALONE_OSX
private const string libswscale = "EasyMovieTexture";
#else
private const string libswscale = "swscale-4";
#endif
[DllImport(libswscale, EntryPoint = "swscale_version", CallingConvention = CallingConvention.Cdecl)]
public static extern uint swscale_version();
[DllImport(libswscale, EntryPoint = "swscale_configuration", CallingConvention = CallingConvention.Cdecl)]
public static extern string swscale_configuration();
[DllImport(libswscale, EntryPoint = "swscale_license", CallingConvention = CallingConvention.Cdecl)]
public static extern string swscale_license();
[DllImport(libswscale, EntryPoint = "sws_getCoefficients", CallingConvention = CallingConvention.Cdecl)]
public static extern int* sws_getCoefficients(int @colorspace);
[DllImport(libswscale, EntryPoint = "sws_isSupportedInput", CallingConvention = CallingConvention.Cdecl)]
public static extern int sws_isSupportedInput(AVPixelFormat @pix_fmt);
[DllImport(libswscale, EntryPoint = "sws_isSupportedOutput", CallingConvention = CallingConvention.Cdecl)]
public static extern int sws_isSupportedOutput(AVPixelFormat @pix_fmt);
[DllImport(libswscale, EntryPoint = "sws_isSupportedEndiannessConversion", CallingConvention = CallingConvention.Cdecl)]
public static extern int sws_isSupportedEndiannessConversion(AVPixelFormat @pix_fmt);
[DllImport(libswscale, EntryPoint = "sws_alloc_context", CallingConvention = CallingConvention.Cdecl)]
public static extern SwsContext* sws_alloc_context();
[DllImport(libswscale, EntryPoint = "sws_init_context", CallingConvention = CallingConvention.Cdecl)]
public static extern int sws_init_context(SwsContext* @sws_context, SwsFilter* @srcFilter, SwsFilter* @dstFilter);
[DllImport(libswscale, EntryPoint = "sws_freeContext", CallingConvention = CallingConvention.Cdecl)]
public static extern void sws_freeContext(SwsContext* @swsContext);
[DllImport(libswscale, EntryPoint = "sws_getContext", CallingConvention = CallingConvention.Cdecl)]
public static extern SwsContext* sws_getContext(int @srcW, int @srcH, AVPixelFormat @srcFormat, int @dstW, int @dstH, AVPixelFormat @dstFormat, int @flags, SwsFilter* @srcFilter, SwsFilter* @dstFilter, double* @param);
[DllImport(libswscale, EntryPoint = "sws_scale", CallingConvention = CallingConvention.Cdecl)]
public static extern int sws_scale(SwsContext* @c, sbyte** @srcSlice, int* @srcStride, int @srcSliceY, int @srcSliceH, sbyte** @dst, int* @dstStride);
[DllImport(libswscale, EntryPoint = "sws_setColorspaceDetails", CallingConvention = CallingConvention.Cdecl)]
public static extern int sws_setColorspaceDetails(SwsContext* @c, [MarshalAs(UnmanagedType.LPArray, SizeConst=4)] int[] @inv_table, int @srcRange, [MarshalAs(UnmanagedType.LPArray, SizeConst=4)] int[] @table, int @dstRange, int @brightness, int @contrast, int @saturation);
[DllImport(libswscale, EntryPoint = "sws_getColorspaceDetails", CallingConvention = CallingConvention.Cdecl)]
public static extern int sws_getColorspaceDetails(SwsContext* @c, int** @inv_table, int* @srcRange, int** @table, int* @dstRange, int* @brightness, int* @contrast, int* @saturation);
[DllImport(libswscale, EntryPoint = "sws_allocVec", CallingConvention = CallingConvention.Cdecl)]
public static extern SwsVector* sws_allocVec(int @length);
[DllImport(libswscale, EntryPoint = "sws_getGaussianVec", CallingConvention = CallingConvention.Cdecl)]
public static extern SwsVector* sws_getGaussianVec(double @variance, double @quality);
[DllImport(libswscale, EntryPoint = "sws_getConstVec", CallingConvention = CallingConvention.Cdecl)]
public static extern SwsVector* sws_getConstVec(double @c, int @length);
[DllImport(libswscale, EntryPoint = "sws_getIdentityVec", CallingConvention = CallingConvention.Cdecl)]
public static extern SwsVector* sws_getIdentityVec();
[DllImport(libswscale, EntryPoint = "sws_scaleVec", CallingConvention = CallingConvention.Cdecl)]
public static extern void sws_scaleVec(SwsVector* @a, double @scalar);
[DllImport(libswscale, EntryPoint = "sws_normalizeVec", CallingConvention = CallingConvention.Cdecl)]
public static extern void sws_normalizeVec(SwsVector* @a, double @height);
[DllImport(libswscale, EntryPoint = "sws_convVec", CallingConvention = CallingConvention.Cdecl)]
public static extern void sws_convVec(SwsVector* @a, SwsVector* @b);
[DllImport(libswscale, EntryPoint = "sws_addVec", CallingConvention = CallingConvention.Cdecl)]
public static extern void sws_addVec(SwsVector* @a, SwsVector* @b);
[DllImport(libswscale, EntryPoint = "sws_subVec", CallingConvention = CallingConvention.Cdecl)]
public static extern void sws_subVec(SwsVector* @a, SwsVector* @b);
[DllImport(libswscale, EntryPoint = "sws_shiftVec", CallingConvention = CallingConvention.Cdecl)]
public static extern void sws_shiftVec(SwsVector* @a, int @shift);
[DllImport(libswscale, EntryPoint = "sws_cloneVec", CallingConvention = CallingConvention.Cdecl)]
public static extern SwsVector* sws_cloneVec(SwsVector* @a);
[DllImport(libswscale, EntryPoint = "sws_printVec2", CallingConvention = CallingConvention.Cdecl)]
public static extern void sws_printVec2(SwsVector* @a, AVClass* @log_ctx, int @log_level);
[DllImport(libswscale, EntryPoint = "sws_freeVec", CallingConvention = CallingConvention.Cdecl)]
public static extern void sws_freeVec(SwsVector* @a);
[DllImport(libswscale, EntryPoint = "sws_getDefaultFilter", CallingConvention = CallingConvention.Cdecl)]
public static extern SwsFilter* sws_getDefaultFilter(float @lumaGBlur, float @chromaGBlur, float @lumaSharpen, float @chromaSharpen, float @chromaHShift, float @chromaVShift, int @verbose);
[DllImport(libswscale, EntryPoint = "sws_freeFilter", CallingConvention = CallingConvention.Cdecl)]
public static extern void sws_freeFilter(SwsFilter* @filter);
[DllImport(libswscale, EntryPoint = "sws_getCachedContext", CallingConvention = CallingConvention.Cdecl)]
public static extern SwsContext* sws_getCachedContext(SwsContext* @context, int @srcW, int @srcH, AVPixelFormat @srcFormat, int @dstW, int @dstH, AVPixelFormat @dstFormat, int @flags, SwsFilter* @srcFilter, SwsFilter* @dstFilter, double* @param);
[DllImport(libswscale, EntryPoint = "sws_convertPalette8ToPacked32", CallingConvention = CallingConvention.Cdecl)]
public static extern void sws_convertPalette8ToPacked32(sbyte* @src, sbyte* @dst, int @num_pixels, sbyte* @palette);
[DllImport(libswscale, EntryPoint = "sws_convertPalette8ToPacked24", CallingConvention = CallingConvention.Cdecl)]
public static extern void sws_convertPalette8ToPacked24(sbyte* @src, sbyte* @dst, int @num_pixels, sbyte* @palette);
[DllImport(libswscale, EntryPoint = "sws_get_class", CallingConvention = CallingConvention.Cdecl)]
public static extern AVClass* sws_get_class();
}
}
#endif
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("FFmpeg.AutoGen")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("FFmpeg.AutoGen")]
[assembly: AssemblyCopyright("Copyright © Ruslan Balanukhin 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("410c7abf-7c83-478f-8655-af2a0f29c7ff")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.2.0.0")]
[assembly: AssemblyFileVersion("1.2.0.0")]
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//using System.Threading.Tasks;
namespace FFmpeg.AutoGen
{
public struct pp_mode
{
}
public struct pp_context
{
}
public struct _iobuf // FILE
{
}
public struct size_t
{
public uint @value;
}
}
\ No newline at end of file
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: AlphaTexture
m_Shader: {fileID: 10752, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 2800000, guid: 62a60d641fc2477419f0d21f7526d59d, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats: []
m_Colors: []
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: ChromakeyMaterial
m_Shader: {fileID: 4800000, guid: c76936b74b3411f48afc2c4b240f8622, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 2800000, guid: 62a60d641fc2477419f0d21f7526d59d, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _slope: 0.2
- _thresh: 0.8
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _keyingColor: {r: 0, g: 1, b: 0, a: 1}
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: CutoutMat
m_Shader: {fileID: 10751, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords: ETC1_EXTERNAL_ALPHA
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: 4200a185e8a03d04e9f7a74bb2c13ef8, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _BumpScale: 1
- _Cutoff: 0
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: Dummy
m_Shader: {fileID: 10750, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 2800000, guid: 3dd07e17f2d1d274aa6f0dc746d84e46, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats: []
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: InSideSphere
m_Shader: {fileID: 4800000, guid: 85e2bd710e5647845925d8105e9949f9, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats: []
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
Shader "Custom/NewSurfaceShader" {
Properties {
_Color ("Color", Color) = (1,1,1,1)
_MainTex ("Albedo (RGB)", 2D) = "white" {}
_Glossiness ("Smoothness", Range(0,1)) = 0.5
_Metallic ("Metallic", Range(0,1)) = 0.0
}
SubShader {
Tags { "RenderType"="Opaque" }
LOD 200
CGPROGRAM
// Physically based Standard lighting model, and enable shadows on all light types
#pragma surface surf Standard fullforwardshadows
// Use shader model 3.0 target, to get nicer looking lighting
#pragma target 3.0
sampler2D _MainTex;
struct Input {
float2 uv_MainTex;
};
half _Glossiness;
half _Metallic;
fixed4 _Color;
// Add instancing support for this shader. You need to check 'Enable Instancing' on materials that use the shader.
// See https://docs.unity3d.com/Manual/GPUInstancing.html for more information about instancing.
// #pragma instancing_options assumeuniformscaling
UNITY_INSTANCING_CBUFFER_START(Props)
// put more per-instance properties here
UNITY_INSTANCING_CBUFFER_END
void surf (Input IN, inout SurfaceOutputStandard o) {
// Albedo comes from a texture tinted by color
fixed4 c = tex2D (_MainTex, IN.uv_MainTex) * _Color;
o.Albedo = c.rgb;
// Metallic and smoothness come from slider variables
o.Metallic = _Metallic;
o.Smoothness = _Glossiness;
o.Alpha = c.a;
}
ENDCG
}
FallBack "Diffuse"
}
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: No Name
m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats: []
m_Colors:
- _Color: {r: 0, g: 0, b: 0, a: 1}
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: VideoMat
m_Shader: {fileID: 10752, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
m_LightmapFlags: 5
m_EnableInstancingVariants: 0
m_CustomRenderQueue: 2000
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _Glossiness: 0.5
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: VideoMaterial
m_Shader: {fileID: 10750, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 2800000, guid: 3dd07e17f2d1d274aa6f0dc746d84e46, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats: []
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: alpha
m_Shader: {fileID: 10750, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords: ETC1_EXTERNAL_ALPHA
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 2800000, guid: 62a60d641fc2477419f0d21f7526d59d, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats: []
m_Colors: []
This diff is collapsed.
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: lambert1
m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats: []
m_Colors:
- _Color: {r: 0.5, g: 0.5, b: 0.5, a: 1}
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: lambert2
m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats: []
m_Colors:
- _Color: {r: 0.5, g: 0.5, b: 0.5, a: 1}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment