HLSL
Gypsyy
爱上未来的自己
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
HLSL固有函数 【Intrinsic Functions (DirectX HLSL)】
Intrinsic Functions (DirectX HLSL)The following table lists the intrinsic functions available in HLSL. Each function has a brief description, and a link to a reference page that has more detail abou转载 2012-05-20 09:44:20 · 826 阅读 · 0 评论 -
HLSL Introduction
HLSL IntroductionHigh Level Shading Language (HLSL), a programming language for Graphic Processing Unit (GPU) in DirectX 9/10/11, supports the shader construction with C-like syntax, types, expr转载 2012-05-20 09:55:46 · 1251 阅读 · 0 评论 -
HLSL错误:x3206 implicit trucation of vector type
今天在两处出现了这个问题:float3 ambient = gMtrl.ambient*gSpotLight.ambient;//环境光oPosLight = mul( oPosW, gViewToLightProj );检查了一下发现是维度问题..ambient是float3类型,gMtrl.ambient是float4类型;oPosLight是float4类型,oPos原创 2012-05-21 14:36:20 · 5332 阅读 · 0 评论
分享