September 8, 20196 yr Hi, I would like to change the color of a targeted material on an aircraft via a shader, is it possible to do this ? I precise that I don't want to use Lua script. thanks for you reply.
September 9, 20196 yr Commercial Member Hi, Adding shaders is pretty easy. P3D has a built-in shader compiler, so you don't have to bother with an IDE/compiler yourself. You can basically just drop your HLSL source code into the sim as an addon package. A couple of shaders that handle textures are in "\Prepar3D v4\ShadersHLSL\FixedFunction" - I suggest that you take a look at those, maybe you'll find a suitable spot where you can add your own code with little effort. Best regards Edited September 9, 20196 yr by Lorby_SI LORBY-SI
September 10, 20196 yr Author Quote thanks a lot for your reply Lorby_SY, I readed a couple of docs and explor a couple of files but in firts times shaders are not easy to understand, I'll continue to get informations, so you confirm to me that is possible ?
September 18, 20196 yr Author HI, After I had read a lot of tutorials on HLSL and try few examples, I understand the structure of HLSL but don't understand how to use it in P3D v4, I precise that I'm unfamiliar with C++, but I would like to write a dll to call my HLSL code, someone can help me ? Thanks by advance.
Archived
This topic is now archived and is closed to further replies.