Hi. Could you explain me please how to filter the environment map, using additional four vectors in environment() vex function. How to calculate those vectors :?:
Best regards. Alex.
Filter map in environment call ?
2785 5 0- Stalkerx777
- Member
- 183 posts
- Joined: Nov. 2008
- Offline
- Stalkerx777
- Member
- 183 posts
- Joined: Nov. 2008
- Offline
- andrewc
- Member
- 1002 posts
- Joined: July 2005
- Offline
- Stalkerx777
- Member
- 183 posts
- Joined: Nov. 2008
- Offline
Thx andrewc. Yes i know, i can use blur and filter width, to blur texture map, but i'm really very interesting how to use those 4 vectors. Even in voplib.h, environment() function called with four vectors R. So, is it correct ? I'm very doubt about it. :roll:
Aleksei Rusev
Sr. Graphics Tools Engineer @ Nvidia
Sr. Graphics Tools Engineer @ Nvidia
- andrewc
- Member
- 1002 posts
- Joined: July 2005
- Offline
The 4 vectors are just another way to define the region in the environment map to filter. If you can form a filtering quadrilateral with 4 direction vectors (in clockwise or counterclockwise order), the environment() function will filter the map in this rectangle. voplib.h and other shaders may pass in the same R vector for all 4 vectors in order to turn off derivative-based filtering which is used for the environment() operation that takes a single R vector.
Andrew
Andrew
- Stalkerx777
- Member
- 183 posts
- Joined: Nov. 2008
- Offline
andrewc
If you can form a filtering quadrilateral with 4 direction vectors (in clockwise or counterclockwise order), the environment() function will filter the map in this rectangle.
Thats exactly what i need andrewc. I have no idea how to form this quadrilateral with this vectors. Is there any info about it? Maybe some links….. :wink:
Aleksei Rusev
Sr. Graphics Tools Engineer @ Nvidia
Sr. Graphics Tools Engineer @ Nvidia
-
- Quick Links