Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
group : microsoft.public.win32.programmer.directx.graphics.shaders      view archive
page nr.   1      2      3      4      5      6      7      8      9      10      11      12      13      14      15      16      17      18      19      20    next >>



newbie question - rGet texture coord in pixel shader     Tue, 13 Sep 2005 10:34:24 +1000
Hi, In my FVF there two set of texture coords.(tu,tv)and (tu1, tv1). I use NO vertex shader. I use SetTextureStageState(0,TSS_TEXCOORDINDEX,0) and SetTextureStageState(1,TSS_TEXCOORDINDEX,1) to associate the texture coord with the stages. In my pixel shader, I try the following for testing ps_1_4 ...

frc assembler instruction fails in vertex shader.     Mon, 12 Sep 2005 20:38:44 GMT
(posted in one other location) The problem is I can not get the fraction instruction 'frc', to work in the vertex shader. It works as expected in the pixel shader. I create a pulse train so I know if I'm on and even pixel or an odd pixel. Proceedure: 1. create a ramp from the vertex texture coordinates sca ...

Large scalar lookup table in a pixel shader     Mon, 12 Sep 2005 11:36:38 -0400
I would like to come up with a way to create a very large lookup texture for transforming scalar data into color. Right now I create a LUT texture that's the max texture width (usually 2048 or 4096) and one pixel tall. I sample the data texture then lookup up the result in the LUT texture. In order to pres ...

FREE New Indian oil for men!     Mon, 05 Sep 2005 17:42:35 -0700
Free Indian oil promotion for men! 100% free trial bottle, safe and great fun! Tel : 91-22-24449309/56663081 MURLI WAGHULDE ...

FREE New Indian oil for men!     Mon, 05 Sep 2005 17:42:30 -0700
Free Indian oil promotion for men! 100% free trial bottle, safe and great fun! Tel : 91-22-24449309/56663081 MURLI WAGHULDE ...

Static Variable in Shaders     Tue, 30 Aug 2005 11:04:02 -0700
I have declared local vertex shader variable as static. Here is HLSL code fragment: static float SVar; SVar += 20; WPos.y = WPos.y - SVar; You see, technique has two passes and each pass should render mesh 20 pts. lower on y-axis ( PosW is world position vector; static variable is declared in ...

Using Compiled Shaders     Mon, 29 Aug 2005 17:25:18 -0400
If I compile my vertex and pixel shaders using fxc, how can I use its binary output in my program? I'm not using effects, so I imagine D3DXCreateEffect won't help, and I can't find anything similar for normal vertex and pixel shaders. Thanks, Gary ...

FREE Indian oil for men!     Sun, 28 Aug 2005 22:19:53 -0700
Free Indian oil promotion for men! 100% free trial bottle, safe and great fun! Tel : 91-22-24449309/56663081 MURLI WAGHULDE ...

FREE Indian oil for men!     Sun, 28 Aug 2005 22:19:52 -0700
Free Indian oil promotion for men! 100% free trial bottle, safe and great fun! Tel : 91-22-24449309/56663081 MURLI WAGHULDE ...

HLSL Vertex Shader with same result as standard lighting     27 Aug 2005 06:15:06 -0700
Hi, I want to mix a custom vertex shader used for geometry instancing with the standard lighting of Direct3D. As some objects in the scene might look similar, the lighting result must look the same. Is there somewhere a code sample for the standard lighting of Direct3D in HLSL code? My attempts always look ...


page nr.: page nr.   1      2      3      4      5      6      7      8      9      10      11      12      13      14      15      16      17      18      19      20    next >>
Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us