码迷,mamicode.com
首页 >  
搜索关键字:vertex and frag    ( 617个结果
Unity移动平台使用顶点动画或UV动画的问题。
都是精度问题,移动平台开发针对大量性能不一的GPU。各种无法预料的问题。 UV动画出现卡顿,解决方案,限制UV的范围。只能缓解。 涉及到_Time的使用时,很大几率会出现问题。不管是使用_Time进行UV顶点,还是顶点动画,在一些移动设备尤其是旧的移动设备上,shader mode 2.0,frag ...
分类:移动开发   时间:2017-08-17 14:31:21    阅读次数:254
图论基础
图概述 图(Graph)是一种比线性结构和树形结构都要复杂的数据结构。简单讲,图是由表示数据元素的的集合V和表示数据之间关系的集合E组成。当中,数据元素常称作顶点(vertex)。数据之间的关系常称作边(edge)。故图可记为G=<V,E>,当中V是顶点的有穷非空集合,E是边的集合。在图中顶点的前驱 ...
分类:其他好文   时间:2017-08-17 10:50:24    阅读次数:298
Parent and son
Give you a tree with N vertices and N‐ 1 edges, and then ask you Q queries on “which vertex is Y's son that has the smallest number and which vertex i ...
分类:其他好文   时间:2017-08-16 20:27:49    阅读次数:194
转 lightmap
小记一下用法与问题,时更 surface shader就不用操心了,自带lightmap计算 主要是vertex fragment shader部分 Unity5 bake light map有三种情况: 1.Non-directional 2.directional 3.directional s ...
分类:Web程序   时间:2017-08-10 16:54:47    阅读次数:288
DFS——CodeForces740DAlyona and a tree
一、题目回顾 题目链接:Alyona and a tree Alyona has a tree with n vertices. The root of the tree is the vertex 1. In each vertex Alyona wrote an positive integer ...
分类:其他好文   时间:2017-08-09 10:17:16    阅读次数:197
Cg入门14:Vertex Shader - 几何变换 —顶点扭曲
mul (UNITY_MATRIX_MVP,upPos):參数说明由第一个參数UNITY_MATRIX_MVP 矩阵去影响第二个參数upPos向量(或者矩阵)Shader "Sbin/vf35" { SubShader { pass{ CGPROGRAM #pragma vertex vert #p ...
分类:其他好文   时间:2017-08-07 20:42:51    阅读次数:103
OpenGL 各个shader的作用和区别
penGL4.0发布了Tessellation shader(Control + Evaluation shader)。到OpenGL4.* 为止,现在OpenGL已经支持了5种不同类型的shader。 1.Vertex Shader,简称VS 2.TESS Control Shader (... ...
分类:其他好文   时间:2017-08-05 17:53:18    阅读次数:198
D3D 点列练习
画四个点在窗体。 #pragma once #pragma comment(lib,"d3d9.lib") #pragma comment(lib,"d3dx9.lib") #include<d3d9.h> #include<d3dx9.h> //TODO: -1 custom vertex str ...
分类:其他好文   时间:2017-07-21 12:27:20    阅读次数:146
HTTP协议
基本语法:<scheme>://<user>:<password>@<host>:<port>/<path>;<params>?<query>#<frag>params:参数query:数据库查询frag:索引http事务报文:请求:request响应:response报文语法格式:request报文<method>&l..
分类:Web程序   时间:2017-07-20 22:22:25    阅读次数:207
android多个fragment返回键层层返回
在FragmentActivity的fragment跳转的时候加入到执行栈。 public void switchFrag(BaseFragment to) { getSupportFragmentManager() .beginTransaction() .replace(R.id.frag_lo ...
分类:移动开发   时间:2017-07-16 11:16:48    阅读次数:301
617条   上一页 1 ... 18 19 20 21 22 ... 62 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!