C++/VB - hlsl basic!
Asked By mironblock
05-Jun-09 02:16 AM
Hello
Could someone upload a very simple HLSL application using HLSL with
solution file?
or send it to me via e-mail;)
Thanks for help:]
mironblock replied...
Of course with managed DirectX.
HLSL compiler removed from core in version 11? C++ / VB I was reading over the August SDK documentation. Based on my reading of that documentation this is my understanding of the HLSL compiler location: Version 9: HLSL compiler was not in the core (in D3DX auxiliary) Version 10: HLSL compiler added to the core Version 11: HLSL compiler removed from the core and placed in a new compiler component Is this correct turn by removing it. Chris The general desire is to see Direct3D applications use precompiled HLSL shaders rather than rely on run-time compliation. As with any compliation process, you are address those customers. The reality, however, is that the in box OS version of the HLSL compiler fell well behind the current generation HLSL compiler offered through the DirectX SDK almost immediately. The current approach is to have the
VB Hi, In D3D9 there is an Effect class that manages Techniques and Passes. Many HLSL implementation I've seen use this. However, basic sample of HLSL doesn't use these methods at all. My question: is it just a programmer choice? Is HLSL compiler able to manage Effects / Techniques or not at all? Thanks for any lighting, Igor APIs (1) DirectX (1) Adulthood (1) Graphics (1) Shaders (1) Vertex (1) Pixel (1) The HLSL compiler can compile files for FX9 (Effects for Direct3D 9 hosted in D3DX9), FX10 (Effects followup] Igor Kravtchenko <nospam@nospam> spake the secret code To add to what Chuck said: HLSL is for writing shaders (vertex, pixel, geometry, etc.). Effects manage shaders as one piece of a whole in order to orchestrate the multi-pass rendering techniques. So you can use HLSL to create your shaders (like the basic HLSL sample does), or you can use effects to manage your device state (with the fixed description: Hi, In D3D9 there is an Effect class that manages Techniques and Passes. Many HLSL implementation I've seen use this. However, basic sample of HLSL does
debugging HLSL C++ / VB Hi, I don't manage to debug my HLSL code. First of all, the documentation talks about a new item in the Debug menu 2005 (1) Visual Studio (1) DirectX (1) Adulthood (1) Graphics (1) June (1) Shaders (1) HLSL (1) [Please do not mail me a copy of your followup] Unfortunately the docs are shaders now. Try looking at that. - - Legalize Adulthood! <http: / / blogs.xmission.com / legalize / > keywords: debugging, HLSL description: Hi, I don't manage to debug my HLSL code. First of all, the documentation talks about a new item in the Debug menu
HLSL generic phong(?) lighting shader for a beginner. . . C++ / VB I am desperately hoping that someone I have been using the last few days to come up with a generic directx hlsl vertex / pixel effect shader which supports multiple lights, phong shading (with specular), bump mapping, luminosity get on with creating my tool- and game engine. . . Yours, Morten Win32 DirectX Graphics Discussions HLSL (1) BrunslightDotProduct (1) LightDotProduct (1) MVP (1) MortenRe (1) GrussJan (1) BrunsRe (1) Phong (1 lightDotProduct con be negative, and so the term for difuse color. Gruss Jan Bruns keywords: HLSL, generic, phong(?), lighting, shader, for, a, beginner. . . description: I am desperately hoping that someone will