UniSky1.2.7在fbx导入unity贴图丢失5.0里貌似是有些东西丢失还是怎么滴

3310人阅读
Unity 3D(83)
&&&&& UniSky is a jaw-droppingly powerful procedural sky, weather, and atmospheric visual effects system for Unity 3. Create gorgeous, AAA-quality living skies in just moments with this popular and powerful tool. UniSky was developed by Six Times Nothing's
Lead Technical Artist, Chris Morris.
UniSky 1.2.7 Features
24 hour day/night cycle with sun, moon and stars Atmospheric scattering for realistic sky colors at any time of day Dynamic directional light color and positioning for the sun and moon Procedural 2D cloud animation with dynamic 3D lighting and shading Parameterized cloud cover, precipitation level, atmospheric scattering, glow, wind direction/speed and colorsHighly optimised and runs almost entirely on the GPU Completely scriptable with an extensive API giving you control over every parameter
使用步骤:
(1)将主摄像机的&Clear Flags&&设置为 &Solid Color&,背景颜色调成黑色,&Far Clipping Plane&调到100000;
(2)将插件自带的&UniSkyAPI& prefab拖入场景;
(3)将主摄像机赋给UniSkyAPI GUI的&General& 的Scene Camera;如下图:
(4)新建一个脚本,通过脚本初始化UniSky的API,并控制各参数;
脚本很简单:
public class ExampleScript : MonoBehaviour {
// create an instance of the API
private UniSkyAPI uniS
void Awake() {
// define the instance
uniSky = GameObject.Find(&UniSkyAPI&).GetComponent(&UniSkyAPI&) as UniSkyAPI;
// instantiate
uniSky.InstantiateUniSky();
void Update() {
// set up a 24-hour cycle with a framerate dependent speed of 1.0
uniSky.SetTime(uniSky.GetTime() + Time.deltaTime * 1.0f);
void Awake() {
// Define instance
uniSky = GameObject.Find(&UniSkyAPI&).GetComponent(&UniSkyAPI&) as UniSkyAPI;
// Initiate and create default UniSky
uniSky.InstantiateUniSky();
// Set some initial states
uniSky.SetTime(12.0f);
uniSky.SetAmbientLighting(new Color(0.1f, 0.1f, 0.1f, 0.1f));
uniSky.SetStormCenter(new Vector3(0,0,0));
uniSky.SetSunShadows(LightShadows.Soft);
// Functions to interpolate parameters over time
/*uniSky.LerpCloudCover(0.5f, 5000.0f);
uniSky.LerpPrecipitationLevel(0.6f, 5000.0f);
uniSky.LerpStormCloudCover(-1.0f, 10000.0f);
uniSky.LerpRainLevel(100, 0.2f, 10000.0f);
uniSky.LerpStormLevel(150, 0.4f, 20000.0f);
uniSky.LerpSunIntensity(0.2f, 10000.0f);
uniSky.LerpFogLevel(0.02f, 20000.0f);
uniSky.LerpAmbientLighting(new Color(0.0f, 0.0f, 0.0f, 0.0f), 5000);
uniSky.ClearDropletBuffer();
uniSky.LerpDropletLevel(10, 20000.0f);*/
&(5)运行就可以看到效果了;想要效果跟想象的一样好,就需要不断的调节UniSkyAPI GUI界面参数了~,编写程序代码也可以实现。
下载地址:
&&相关文章推荐
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:474064次
积分:6207
积分:6207
排名:第3540名
原创:100篇
转载:230篇
译文:42篇
评论:34条
(7)(2)(3)(1)(1)(1)(10)(5)(1)(5)(10)(1)(2)(2)(2)(4)(1)(2)(13)(4)(6)(3)(6)(24)(20)(16)(4)(30)(26)(28)(21)(35)(9)(8)(18)(1)(19)(10)(7)(4)(1)UniSky1.2.7在unity5.0里貌似是有些东西丢失还是怎么滴~
UniSky1.2.7在unity5.0里貌似是有些东西丢失还是怎么滴~显示不正确~不知道有没有最新版或者怎样可以正常使用~
要评论请先&或者&
我也在找,没有找到..
同求解,我也是这个问题Unity 3D 游戏引擎 天空(天气)插件 UniSky 效果视频【人人网 - 分享】
Unity 3D 游戏引擎 天空(天气)插件 UniSky 效果视频
分享这个视频的人喜欢
分享这个视频的人也爱看
提前一个小时,新主播求关注,求礼物
守护守护守护守护!
我是一个花花菇凉???
爱你不及你喜欢
热门视频推荐
热门日志推荐
同类视频推荐
北京千橡网景科技发展有限公司:
文网文[号··京公网安备号·甲测资字
文化部监督电子邮箱:wlwh@··
文明办网文明上网举报电话: 举报邮箱:&&&&&&&&&&&&
请输入手机号,完成注册
请输入验证码
密码必须由6-20个字符组成
下载人人客户端
品评校花校草,体验校园广场[Unity3D]呼风唤雨:天候插件UniSky的使用教程与案例 - 移动开发当前位置:& &&&[Unity3D]呼风唤雨:天候插件UniSky的使用教程与案例[Unity3D]呼风唤雨:天候插件UniSky的使用教程与案例&&网友分享于:&&浏览:516次[Unity3D]呼风唤雨:天气插件UniSky的使用教程与案例UniSky是Unity3D的一款模拟环境天气的插件,使用它可以简单的实现呼风唤雨的各种功能。
下载地址:请点击我
使用起来也非常的方便。
引入Package后(注意路径必须是英文否则会出错)Project中会多一个文件夹:
下面我们来简单的创建一个下雨的场景。
首先从UniSky中拖动UniSkyAPI到Hierachy面板:
然后再把Camara与API建立连接:
接下来创建一个空的GameObject用来控制UniSkyAPI,并将脚本ExampleScript拖到它身上:
这个脚本的源码如下:
using UnityE
using System.C
public class ExampleScript : MonoBehaviour {
// instance of the API
private UniSkyAPI uniS
void Awake() {
// Define instance
uniSky = GameObject.Find(&UniSkyAPI&).GetComponent(&UniSkyAPI&) as UniSkyAPI;
// Initiate and create default UniSky
uniSky.InstantiateUniSky();
// Set some initial states
uniSky.SetTime(12.0f);
uniSky.SetAmbientLighting(new Color(0.1f, 0.1f, 0.1f, 0.1f));
uniSky.SetStormCenter(new Vector3(0,0,0));
uniSky.SetSunShadows(LightShadows.Soft);
// Functions to interpolate parameters over time
uniSky.LerpCloudCover(0.5f, 5000.0f);
uniSky.LerpPrecipitationLevel(0.6f, 5000.0f);
uniSky.LerpStormCloudCover(-1.0f, 10000.0f);
uniSky.LerpRainLevel(100, 0.2f, 10000.0f);
uniSky.LerpStormLevel(150, 0.4f, 20000.0f);
uniSky.LerpSunIntensity(0.2f, 10000.0f);
uniSky.LerpFogLevel(0.02f, 20000.0f);
uniSky.LerpAmbientLighting(new Color(0.0f, 0.0f, 0.0f, 0.0f), 5000);
uniSky.ClearDropletBuffer();
uniSky.LerpDropletLevel(10, 20000.0f);
void Update() {
以下是对于插件API函数的简要解释:
API函数/参数
下面是对UniSky参数的介绍,并且都对其进行了效果解释。下面的列表可以再UniSkyAPI.js/cs中找到。
//一天的时间(0到24小时循环)
SetTime(float time);
LerpTime(float time, float milliseconds);
GetTime();
//返回太阳的颜色
GetSunColor();
//启用或禁用太阳和月亮的阴影。类型: &LightShadows.None& 、&LightShadows.Hard&和 &LightShadows.Soft&
public void SetSunShadows(LightShadows sunShadows)
public void SetMoonShadows(LightShadows moonShadows)
//设置暴风雨云层中心的坐标
SetStormCenter(Vector3 stormCenter);
//散射半径,他影响着天空的颜色(默认是45000,通常情况下是一个真实的天空)
SetScatteringRadius(float scatteringRadius);
LerpScatteringRadius(float scatteringRadius, float milliseconds);
//主大气层的覆盖是(-5到5)
void SetCloudCover(float cloudCover);
LerpCloudCover(float cloudCover, float milliseconds);
//黑暗的云层,不是暴风雨的大气层。(2-0,越低,云层颜色越深)
SetPrecipitationLevel(float precipitationLevel);
LerpPrecipitationLevel(float precipitationLevel, float milliseconds);
//暴风雨的覆盖层级是(建议是-3.5到-1.0)
SetStormCloudCover(float cloudCover);
LerpStormCloudCover(float cloudCover, float milliseconds);
//雨的数量。没有大暴雨的,但是都是小雨。(任何地方都是从0-1000)
SetRainLevel(float rainLevel, float sfxLevel);
LerpRainLevel(float rainLevel, float sfxLevel, float milliseconds);
//特大暴雨。一片都有雨。(任何地方都是从0-200)
SetStormLevel(float stormLevel, float sfxLevel);
LerpStormLevel(float stormLevel, float sfxLevel, float milliseconds);
//太阳的亮度或浓度。由于黑暗中阴天或暴风雨天(0到0.5)淡入淡出
SetSunIntensity(float intensity);
LerpSunIntensity(float intensity, float milliseconds);
//设置内置雾(0到0.03)
SetFogLevel(float fogLevel);
LerpFogLevel(float fogLevel, float milliseconds);
//设置屏幕图像上滴落的速率(0到5)
SetDropletLevel(float dropletLevel);
LerpDropletLevel(float dropletLevel, float milliseconds);
//设置云的方向,加速度和演化的速度。X=x方向和加速度,Y=y方向和加速度,Z=演化速度(0到1)
SetCloudSpeedDirection(Vector3 speedDirection);
LerpCloudSpeedDirection(Vector3 speedDirection, float milliseconds);
//光晕差异。设置云边缘的照明强度(0到10)。提示:设置为0左右,会有一个很好的卷云效果。
SetGlowVariance(float glowVariance);
LerpGlowVariance(float glowVariance, float milliseconds);
//设置云褪色到大气中的距离(0到20)
SetViewDistance(float viewDistance);
LerpViewDistance(float viewDistance, float milliseconds);
//调节默认颜色。建议RGB的默认值(1.5,1.5,1.5)。如果你想要粉红色或绿色的云:D
SetColorVariance(Vector3 colorVariance);
LerpColorVariance(Vector3 colorVariance, milliseconds);
//如果你想时间自动循环,这个是时间流逝的速度。(0到0.1)
SetSpeedOfTime(float speedOfTime);
//改变光散射到云中,只影响云的颜色。最好是保持他的默认值,40.(-20到100)
SetRayleighLevel(float rayleighLevel);
//如果启用该选项,一天中时间的播放器与系统时钟同步。
SetUseSystemTime(bool enabled);
//改变环境光的颜色。我建议在一天的时间内进行插值或混浊。
SetAmbientLighting(Color ambientLevel);
LerpAmbientLighting(Color ambientLevel, float milliseconds);
//设置月亮的大小
SetMoonSize(float moonSize);
//清除雾滴缓存
ClearDropletBuffer();
//设置打雷闪电的频率。越高越频繁(0到100)。
SetLightningFrequency(float
frequency);
此时点击运行,便会发现UniSky已经基本成型了:
当然想过不是很理想,因为没有地面。。
如果需要下雨的效果,只需要加上这么一行代码:
uniSky.SetStormLevel();
uniSky.SetRainLevel();
就可以实现了:
完整的学习案例还是参照插件中自带的案例UniSky Example Scene,效果非常好:
当然啦,如果只是要简单的下雨特效,推荐这款插件:Rain.package
12345678910
12345678910
12345678910 上一篇:下一篇:文章评论相关解决方案 12345678910 Copyright & &&版权所有&>&&>&&>&&>&UniSky1.2.6
UniSky1.2.6
上传大小:34.5MB
UniSky是一个令人瞠目结舌的程序天气插件。他提供了模拟大气视觉效果系统。可以让你快速创建出AAA级别的逼真的天空。
综合评分:5(1位用户评分)
收藏((1))
所需积分:1
下载次数:25
审核通过送C币
创建者:bensnake
创建者:zhangguo5
创建者:zhangguo5
课程推荐相关知识库
上传者其他资源上传者专辑
开发技术热门标签
VIP会员动态
android服务器底层网络模块的设计方法
所需积分:0
剩余积分:720
您当前C币:0
可兑换下载积分:0
兑换下载分:
兑换失败,您当前C币不够,请先充值C币
消耗C币:0
你当前的下载分为234。
UniSky1.2.6
会员到期时间:
剩余下载次数:
你还不是VIP会员
开通VIP会员权限,免积分下载
你下载资源过于频繁,请输入验证码
你下载资源过于频繁,请输入验证码
您因违反CSDN下载频道规则而被锁定帐户,如有疑问,请联络:!
若举报审核通过,可奖励20下载分
被举报人:
举报的资源分:
请选择类型
资源无法下载
资源无法使用
标题与实际内容不符
含有危害国家安全内容
含有反动色情等内容
含广告内容
版权问题,侵犯个人或公司的版权
*详细原因:

我要回帖

更多关于 unity 材质丢失 的文章

 

随机推荐