会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
技术记录库
博客园
首页
新随笔
联系
订阅
管理
[置顶]
优化
只有注册用户登录后才能阅读该文。
阅读全文
posted @ 2015-09-18 10:58 softimagewht
阅读(25)
评论(0)
推荐(0)
2015年11月6日
给animator动态添加事件
摘要: using UnityEngine;using System.Collections;public class setAnimationEvent : MonoBehaviour { public RuntimeAnimatorController m_runtimeAnimatorContr...
阅读全文
posted @ 2015-11-06 11:08 softimagewht
阅读(1808)
评论(0)
推荐(0)
2015年9月14日
贴图压缩格式
摘要: 因为有不少人都问过我压缩格式的问题,今天飞哥又重新提醒了一次。整理一下发个贴,以供大家查阅和讨论。各种纹理格式,大家参照下U3D MANUAL里面的具体描述介绍,这是官方的东西。但我觉得有一部内容是错的,例如占用内存大小。http://docs.unity3d.com/Manual/class-Te...
阅读全文
posted @ 2015-09-14 15:34 softimagewht
阅读(599)
评论(0)
推荐(0)
2015年9月11日
HDR和toneMapping
摘要: http://bbs.9ria.com/thread-140497-1-1.html
阅读全文
posted @ 2015-09-11 10:40 softimagewht
阅读(374)
评论(0)
推荐(0)
2015年8月22日
正反面都正确接受光源的双面材质
摘要: Shader "Transparent/Diffuse DoubleSided" {Properties { _Color ("Main Color", Color) = (1,1,1,1) _MainTex ("Base (RGB) Trans (A)", 2D) = "white" {}}S...
阅读全文
posted @ 2015-08-22 18:39 softimagewht
阅读(616)
评论(0)
推荐(0)
shader三种变量类型(uniform,attribute和varying)
摘要: uniform变量在vertex和fragment两者之间声明方式完全一样,则它可以在vertex和fragment共享使用。(相当于一个被vertex和fragment shader共享的全局变量)uniform变量一般用来表示:变换矩阵,材质,光照参数和颜色等信息。以下是例子:uniform m...
阅读全文
posted @ 2015-08-22 18:37 softimagewht
阅读(17782)
评论(0)
推荐(3)
2015年6月24日
网络编程02
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
阅读全文
posted @ 2015-06-24 11:52 softimagewht
阅读(313)
评论(0)
推荐(0)
2015年6月17日
把Arraylist转换成GameObject[]
摘要: ArrayList a = new ArrayList();GameObject g = new GameObject("g");a.Add(g);GameObject[] go = (GameObject[])a.ToArray(typeof(GameObject));
阅读全文
posted @ 2015-06-17 14:44 softimagewht
阅读(405)
评论(0)
推荐(0)
2015年6月14日
c# 垮线程调用控件
摘要: http://www.cnblogs.com/TankXiao/p/3348292.html
阅读全文
posted @ 2015-06-14 22:59 softimagewht
阅读(185)
评论(0)
推荐(0)
2015年6月11日
网络编程01
摘要: //服务端using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net;using System.Net.Sockets;namespace learn{ c...
阅读全文
posted @ 2015-06-11 13:55 softimagewht
阅读(237)
评论(0)
推荐(0)
2015年5月22日
u3d 性能优化
摘要: http://blog.csdn.net/candycat1992/article/details/42127811写在前面这一篇是在Digital Tutors的一个系列教程的基础上总结扩展而得的~Digital Tutors是一个非常棒的教程网站,包含了多媒体领域很多方面的资料,非常酷!除此之外...
阅读全文
posted @ 2015-05-22 14:50 softimagewht
阅读(7363)
评论(0)
推荐(0)
下一页
公告