当前位置:网站首页>Try to use renderdoc to view the shader code of UE
Try to use renderdoc to view the shader code of UE
2022-06-13 07:00:00 【YakSue】
problem
stay 《 Learn to use RenderDoc View shader code 》 I learned how to use RenderDoc see shader Code .
stay 《 stay UE4 Use in RenderDoc》 I learned how to do UE4 Use in RenderDoc.
But one problem is , If I'm directly in UE Try to watch the middle frame shader Code , You see assembly instructions that are not readable :
The goal of this article is to try to solve this problem .
Necessary operation :r.Shaders.Optimize and r.Shaders.KeepDebugInfo
By looking up 《UE4 Use in RenderDoc Cut frame - cococ - Blog Garden 》 Information , The two key console variables associated with finding this problem are r.Shaders.Optimize and r.Shaders.KeepDebugInfo.
The expected value is :
r.Shaders.Optimize=0
r.Shaders.KeepDebugInfo=1
These two console variables can be queried when the editor is running , The default value is just the opposite , And it cannot be modified in the editor .
To modify , Will be in \Engine\Config\ConsoleVariables.ini Revision in China .
By default , The assignment statements for both variables are commented out , Just remove their comments :
And then , Then start the engine editor , Cut frame , You can see readable shader Code. :
May not be a necessary step *: Set to Debug?
Because I have heard that , Need to put VS Configuration of the solution ( The original window may be shorter , For the method of lengthening, see 【 appendix 】)
from 
Change it to 
But I haven't seen any help to this problem since I changed it . Finally, I found that as long as r.Shaders.Optimize and r.Shaders.KeepDebugInfo, Then even in Development You can also see readable shader Code .
So for the time being, I think Debug May not be a necessary step .
however , Set to Debug May be helpful in other ways , So I temporarily recorded the problems encountered .
There was a problem after the switch was turned on :
stay here See the solution , That is, first find a mode that you can enter, and then click File > Cook Content for Windows
wait for Cook complete :
Then replace with Debug start-up , I can't see the error report .
appendix : Make the solution configuration window longer
stay 《 modify VS2017 Solution configuration window width 》 Found a way :
Tools > Customize 
command > Select... From the toolbar “ standard ”
choice “ Solution configuration ”
Click on “ Modify the selection ”
Modify width , Then click OK .
边栏推荐
- Upper computer development (software test of firmware download software)
- Fe of mL: introduction to vintage curve /vintage analysis, calculation logic and detailed introduction to case application
- Xiaomi's one-sided interview questions (self sorting answers)
- [Collection des questions d'examen les plus complètes de Tencent Ali] (quatre côtés: 3 tours de technologie + 1 tour de RH)
- 基于ESP32CAM实现WebSocket服务器实时点灯
- MongoDB系列之SQL和NoSQL的区别
- ISIS的vsys(虚拟系统)
- 数字时代进化论
- 【微弱瞬态信号检测】混沌背景下微弱瞬态信号的SVM检测方法的matlab仿真
- What is online blind box e-commerce? Can blind box e-commerce become a new bonus market for the Internet?
猜你喜欢

上位机开发(固件下载软件之架构设计)
![[cloud native | kubernetes] kubernetes configuration](/img/cb/20595d34a9e203b83dd086cc27037d.png)
[cloud native | kubernetes] kubernetes configuration

基于SSM实现水果商城批发平台

Xuanwu cloud technology passed the listing hearing: the performance fluctuated significantly, and chenyonghui and other three were the controlling shareholders

牙周炎问题调研(持续进行中)

Do you want to carry out rapid steel mesh design and ensure the quality of steel mesh? Look here

The causes of font and style enlargement when the applet is horizontal have been solved

First day of learning MySQL Basics

Project analysis of Taishan crowdfunding mode: why is Taishan crowdfunding mode so popular?

Jinglianwen technology provides a one-stop smart home data acquisition and labeling solution
随机推荐
Comment utiliser le logiciel wangyou DFM pour l'analyse des plaques froides
IIS batch bind domain name
If the key in redis data is in Chinese
NFV基本概述
Xuanwu cloud technology passed the listing hearing: the performance fluctuated significantly, and chenyonghui and other three were the controlling shareholders
That is, after the negative impact of gcat advertising e-commerce, is there no stable advertising e-commerce platform?
105. 从前序与中序遍历序列构造二叉树
智能文娱稳步发展,景联文科技提供数据采集标注服务
Is it safe for Hangzhou Securities to open an account?
Jinglianwen technology provides a one-stop smart home data acquisition and labeling solution
智能金融再升级,景联文科技提供数据采集标注服务
How to use Wangyou DFM software for cold plate analysis
json. Stringify() and json The difference between parse () and json Usage of stringify()
How to make a development board from scratch? Illustrated and illustrated, step by step operation for you to see.
Why is the blind box e-commerce mode so popular?
【马尔科夫链-蒙特卡罗】马尔科夫链-蒙特卡罗方法对先验分布进行抽样
RT-Thread 模拟器 simulator LVGL控件:button 按钮事件
树莓派高级开发——“IO口驱动代码的编写“ 包含总线地址、物理_虚拟地址、BCM2835芯片手册知识
微隔离(MSG)
对绘制丘岭密度图ridge plot的详细说明、重叠核密度估计曲线overlapping densities、FacetGrid对象、函数sns.kdeplot、函数FacetGrid.map