- 博客(6)
- 资源 (1)
- 收藏
- 关注
转载 Unity Shader 模板测试绘制被遮挡物体的轮廓
原文链接 https://blog.csdn.net/yangxuan0261/article/details/79686192 主要分为三个步骤: 第一步:正常渲染物体,开启深度测试即LEqual,同时往Stancli buffer 里写入一个参考值,强制写入(即使深度测试失败的值也要写入,保证 角色所有像素在模板缓冲区的值 都是 参考值 Ref=1)。 绘制被遮挡的部分轮廓:首先在View空间将顶点沿着法线方向扩张(其实这里需要注意的是如果在View空间做法线扩张可能导致摄像机的远近会改变轮廓的大小,
2021-04-07 21:24:14
808
原创 UE4小游戏4
记录UE4小游戏 创建一个继承与AIController的AIEnemy用于控制Enemy,Enemy类负责做状态的转换。 Enemy.h // Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "GameFramework/Character.h" #include "..\Public\PacManChar
2021-02-04 22:34:35
574
原创 UE4小游戏3
UE4小游戏3 更改下错误: 上次在创建Collectables实列的时候用的是继承于C++Collectables类的蓝图类,可以直接用C++类。 今天控制主角吃豆子 MyPacManCharacter.h // Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "GameFramework/Charact
2021-02-03 21:58:50
258
原创 UE小游戏2
UE4小游戏二—创建能移动的主角 创建主角继承于character类 先上代码(一部分,只是关于移动的代码) MyPacManCharacter.h // Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "GameFramework/Character.h" #include "MyPacManChar
2021-02-02 22:47:47
538
原创 B站上的UE4吃豆人
UE4做一个C++小游戏(3D吃豆人) 记录自己的第一个UE4小游戏 用画刷自己做一个地图 创建豆子类继承于Actor Collectables.h // Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "GameFramework/Actor.h" #include "Components/Sph
2021-02-02 21:31:40
469
原创 ML+SON(Machine Learning + Self-Organizing Network)学习中!!!!
在校通信研究,研究方向为机器学习与无线通信的结合,主要是资源优化方面,希望能找到方向差不多的小伙伴
2019-09-23 20:35:53
306
Machine Learning Techniques +Self-Organizing Cellular Networks
2019-09-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人