This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "Unlit/DecodeLightmap" | |
{ | |
Properties | |
{ | |
_MainTex ("Texture", 2D) = "white" {} | |
} | |
SubShader | |
{ | |
Tags | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://t.acg.rip:6699/announce |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 从这抄的 | |
# https://blog.csdn.net/Yonggie/article/details/97404027 | |
import math | |
from random import random | |
import matplotlib.pyplot as plt | |
# mu:均值/期望 | |
# sigma:标准差 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: Show Reserved Ports | |
netsh interface ipv4 show excludedportrange protocol=tcp | |
:: Stop Server | |
net stop winnat | |
:: Change Port | |
netsh int ipv4 set dynamic tcp start=49152 num=16384 | |
netsh int ipv6 set dynamic tcp start=49152 num=16384 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<!-- For AMD 5950X, 16 core 32 thread --> | |
<!-- reference: Engine\Saved\UnrealBuildTool\BuildConfiguration.Schema.xsd --> | |
<Configuration xmlns="https://www.unrealengine.com/BuildConfiguration"> | |
<!-- force use 32 thread --> | |
<BuildConfiguration> | |
<MaxParallelActions>32</MaxParallelActions> | |
</BuildConfiguration> | |
<!-- force use 32 thread and 2 thread one core (for ue5) --> | |
<TaskExecutor> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clean -xfd | |
git submodule foreach --recursive git clean -xfd | |
git reset --hard | |
git submodule foreach --recursive git reset --hard | |
git submodule update --init --recursive | |
git reset --hard | |
git submodule sync --recursive | |
git submodule update --init --force --recursive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Color Transform 颜色转换/调整 | |
HSV/RGB | |
HSL | |
WhiteBalance白平衡 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void FVideoPlayerModule::SetDllPath() | |
{ | |
//FString AbsPath = FileManager::Get().ConvertToAbsolutePathForExternalAppForRead(*MyLibPath); | |
const auto PluginBaseDir = IPluginManager::Get().FindPlugin("VideoPlayer")->GetBaseDir(); | |
const auto PluginBaseDirAbs = FPaths::ConvertRelativePathToFull(PluginBaseDir); | |
XVideoDllPath = FPaths::Combine(PluginBaseDirAbs, TEXT("Source/VideoPlayer/ThirdParty/XVideo/bin/")); | |
FPlatformProcess::AddDllDirectory(*XVideoDllPath); | |
FPlatformProcess::PushDllDirectory(*XVideoDllPath); | |
// not need load and manage dll manually, will be auto load | |
//const auto Dlls = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[/Script/Engine.GameViewportClient] | |
MaxSplitscreenPlayers=10 |
NewerOlder