Re: Cav at vertices in shaders

Date : Tue, 15 Aug 2006 16:35:18 +1000
To : XSI(at)Softimage.COM, 3dbernard(at)gmail.com
From : "jason bright" <jaybright(at)gmail.com>
Subject : Re: Cav at vertices in shaders
>>Here comes the question. When I generated the shader using
>>the shader wizard, I chose Color At Vertice as parameter type,
>>and it gave an integer. What am I supposed to do with that?
>>I would have expected a miColor or something like that.
>>CAV usually have 4 channels and tangeants at least 3. Duh?

If you check out the SPDL generated by the wizard, that parameter gets a texture space picker with a filter attached.

The integer is a texture space index.  These values need to be stored in a textures space so they can be properly interpolated across during tessellation.

Go retrieve your data from state->tex_list[i].

cheers -- j


Search the 3D List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.