求教,关于Direct3D programming的一个问题。
登录 | 论坛导航 -> 华新鲜事 -> 技术の宅 | 本帖共有 6 楼,当前显示第 2 楼 : 从楼主开始阅读 : 本帖树形列表 : 返回上一页
作者:SmellsLikeTeenSpirit (等级:11 - 出神入化,发帖:6371) 发表:2005-01-11 20:01:08  2楼 
用Format.D24S8 不好吗?
if you want to dabble with HLSL, you can try the simplest case of using shadow mapping

1. write a vertex shader that computes the depth value of each pixel from the light's point of view and store the result in a shadow map

2. write a pixel shader that uses that shadow map

based on what you described, you should know in theory how it works. the HLSL implementation is merely implmentation and should be described from some online tutorials.
War is peace.
Freedom is slavery.
Ignorance is strength.
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版只看此人从这里展开收起列表

本帖共有 6 楼,当前显示第 2 楼,本文还有 N-1 层楼,要不你试试看:点击此处阅读更多 >>



请登录后回复:帐号   密码