Directx着色器“建议” “我需要一些帮助,谢谢” [英] Directx shader "advice" "I need some help on this thanks"

查看:84
本文介绍了Directx着色器“建议” “我需要一些帮助,谢谢”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿,我需要知道如何在我的游戏中添加着色器。



所以,例如,我尝试了一些DirectX包装器,只需拖放即可将d3d9.dll或d3d8.dll和ini文件添加到您选择的游戏目录中,您可以添加对反物质hdr照明绽放等内容的支持。我需要知道如何做到这一点我只需要一个d3d9着色器包装器有hdr照明或任何着色器都可以很好地添加hdr照明...



所以我想自己制作但是它就是它



我知道一些关于DirectX但不是那么多,但我知道你做的就是告诉我要做的事我很聪明......



这是我的代码示例::



Hey, I need to know how to add shaders to my game.

So, for example, I have tried some DirectX wrappers where you just drag and drop the d3d9.dll, or d3d8.dll and the ini file to your game directory of choice and you can add support for stuff like anti alies hdr lighting bloom ect.. I need to know how to do this I just need a d3d9 shader wrapper that has hdr lighting or any shader would be nice to add as well with the hdr lighting to..

So I want to make my own but That's it

I know some about DirectX but not that much but I know enough to do what you all tell me to do I am smart that way...

here is my code example::

#include System;
namespace directxshadertest
{
class test
{
}
}

void shaderinput()
{
// my shader code goes here!
}





我的尝试:



我已经尝试了其他源代码包装器来学习,但是无处可去的人说这很容易,但我需要一些专家建议谢谢



What I have tried:

I have tried other source code wrappers to learn but get nowhere people say that it is easy but I need some pro advice thanks

推荐答案

它不是您想要做的简单任务,但是一些高技能的软件。您需要了解有关 HDR Lighting and Displays 的基础知识。



也许 HDRCubeMap示例向您展示了一些有用的技巧。



您正处于一次重大旅程的开始阶段; - )
It isnt a simple task that you want to do, but some high skilled software. You need to learn the basics about HDR Lighting and Displays.

Maybe that HDRCubeMap sample shows you some useful techniques.

You are at the start of a big journey ;-)


这篇关于Directx着色器“建议” “我需要一些帮助,谢谢”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆