xak的专栏

Sometimes when I look at the world, I can see a line behind it.

Linear Vs Gamma For Textures Of Unity Standard Material

Albedo should be sRGB, not linear. It should be noted that for the most part it's not how they're saved but how they're created eventually read. The ...

2018-07-06 12:08:40

阅读数:53

评论数:0

Crunch compression of ETC textures

Introduction to Crunch: Compressing DXT textures. Crunch is an open source texture compression library © Richard Geldreich, Jr. and Binomial LLC, ...

2018-01-05 11:33:28

阅读数:464

评论数:0

CommandBuffer.Blit BuiltinRenderTextureType.CameraTarget为空的问题

当使用CommandBuffer来实现后处理的时候,发现cb.Blit(BuiltinRenderTextureType.CameraTarget,...)无效,在FrameDebug中看到传入的_MainTex为Whilte, 原因: 在Forward模式下,默认相机是渲染到BackBuffer...

2017-08-02 11:34:45

阅读数:851

评论数:0

Animation Compression: Unity 5

Unity 5 is a very popular video game engine on mobile devices and other platforms. Being a state of the art game engine, it supports everything you ...

2017-07-03 21:07:30

阅读数:678

评论数:0

Lighting Models and BRDF Maps

A Bi-directional Reflectance Distribution Function (BRDF) is a mathematical function that describes how light is reflected when it hits a surface. Th...

2017-03-19 22:46:14

阅读数:387

评论数:0

Weird Shader Problem On OpenGLES 3.0

Shader在OpenGLES2.0上显示正常,在OpenGLES3.0上显示异常(Pink) 原因: struct v2f中SV_POSITION的定义放在了另外两个定义之后,似乎当SV_POSITION的定义前面有其他超过(或者等于)两个定义时候,就会出现这样的问题。 解决: 将SV_...

2016-07-20 11:03:13

阅读数:588

评论数:0

StaticBatchingUtility.Combine Not Working

There is a requirement for imported meshes to be usable on Combine(): "Read/Write Enabled" flag must be set on mesh import settings.

2016-05-20 15:55:52

阅读数:1355

评论数:0

Serialization Best Practices

Unity Serialization So you are writing a really cool editor extension in Unity and things seem to be going really well. You get your data structures...

2016-03-30 15:57:53

阅读数:565

评论数:0

Change Queue Not Work In Unity Shader

Problem: It seems like there is some sort of bug with shaders / materials regarding render queues. I have shader that is set to be in Geometry+10...

2016-03-19 10:22:02

阅读数:1004

评论数:0

Unity Terrain Optimze

1、Important Fact Resolution Property: Function: Terrain Width Size of the terrain object in its X axis (in world uni...

2015-10-16 11:06:21

阅读数:1556

评论数:0

Hide Warn Global In Unity

Sometime, The warn info are turn into error msg in unity's console, Although we can find the error msg in the bottom of msg's detail,But when we have...

2015-09-17 21:04:19

阅读数:1189

评论数:0

Rectangle Bin Packing

1、From:http://www.blackpawn.com/texts/lightmaps/default.html Pop Quiz: You have 765,618 lightmaps for a scene and very few of them have power of...

2015-08-24 11:59:24

阅读数:1573

评论数:0

UNITY EDITOR EXTENSIONS – MENU ITEMS[详]

From:https://unity3d.com/cn/learn/tutorials/modules/intermediate/editor/menu-items The Unity editor allows adding custom menus that look and behav...

2015-08-21 11:29:36

阅读数:824

评论数:0

Measuring Performance with the Built-in Profiler[Unity]

Unity iOS and Android contain a built in profiler. The built-in profiler emits console messages from the game running on device. These messages are w...

2015-07-01 09:38:41

阅读数:1111

评论数:0

UIToggle修改状态无效的原因及解决办法[NGUI]

本文分析了NGUI中UIToggle在某些特定场景下修改状态无效的原因和解决方法。

2015-05-23 12:49:39

阅读数:2237

评论数:0

Pixel gap / lines that appear at the edges of sprites[NGUI]

If you use texture compression, that will cause bleeding problems. And texture filtering mode is an another culprit.  There are few solutions. * ...

2015-05-19 16:30:31

阅读数:777

评论数:0

Unity DEBUG DLL(C#)

Many people are writing reusable code components in external DLL files, and deploy them in their Unity project. Using UnityVS, it's also possible to ...

2015-04-16 21:45:56

阅读数:992

评论数:0

Optimizing Unity Games for Mobile Platforms

很好的一篇关于UNITY优化文章~! http://malideveloper.arm.com/downloads/Unite_2013-Optimizing_Unity_Games_for_Mobile_Platforms.pdf

2015-04-10 17:11:43

阅读数:700

评论数:0

Extension Methods - C#

Oftentimes you’ll find yourself using classes you can’t modify. Whether they’re basic data types or part of an existing framework, you’re stuck with ...

2015-04-09 14:18:32

阅读数:420

评论数:0

NGUI Drawcall 优化

NGUI 方面的Draw Call 优化: (1)     打包图集 一、每个材质/纹理的渲染一定是会产生DrawCall的,这个DrawCall只能通过打包图集来进行优化。 二、从功能角度进行划分,例如UI可以划分为公共部分,以及每个具体的界面,功能上,显示上密切相关的图片打包...

2015-03-20 11:01:56

阅读数:1917

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭