Changeset View
Changeset View
Standalone View
Standalone View
source/blender/render/extern/include/RE_shader_ext.h
| Show First 20 Lines • Show All 136 Lines • ▼ Show 20 Lines | typedef struct ShadeInput { | ||||
| /* texture coordinates */ | /* texture coordinates */ | ||||
| float lo[3], gl[3], ref[3], orn[3], winco[3], vcol[4]; | float lo[3], gl[3], ref[3], orn[3], winco[3], vcol[4]; | ||||
| float refcol[4], displace[3]; | float refcol[4], displace[3]; | ||||
| float strandco, tang[3], nmapnorm[3], nmaptang[4], stress, winspeed[4]; | float strandco, tang[3], nmapnorm[3], nmaptang[4], stress, winspeed[4]; | ||||
| float duplilo[3], dupliuv[3]; | float duplilo[3], dupliuv[3]; | ||||
| float tangents[8][4]; /* 8 = MAX_MTFACE */ | float tangents[8][4]; /* 8 = MAX_MTFACE */ | ||||
| ShadeInputUV uv[8]; /* 8 = MAX_MTFACE */ | ShadeInputUV uv[8]; /* 8 = MAX_MTFACE */ | ||||
| ShadeInputCol col[8]; /* 8 = MAX_MCOL */ | ShadeInputCol col[64]; /* 64 = MAX_MCOL */ | ||||
campbellbarton: Assume this is a mistake. | |||||
| int totuv, totcol, actuv, actcol; | int totuv, totcol, actuv, actcol; | ||||
| /* dx/dy OSA coordinates */ | /* dx/dy OSA coordinates */ | ||||
| float dxco[3], dyco[3]; | float dxco[3], dyco[3]; | ||||
| float dxlo[3], dylo[3], dxgl[3], dygl[3]; | float dxlo[3], dylo[3], dxgl[3], dygl[3]; | ||||
| float dxref[3], dyref[3], dxorn[3], dyorn[3]; | float dxref[3], dyref[3], dxorn[3], dyorn[3]; | ||||
| float dxno[3], dyno[3], dxview, dyview; | float dxno[3], dyno[3], dxview, dyview; | ||||
| float dxlv[3], dylv[3]; | float dxlv[3], dylv[3]; | ||||
| ▲ Show 20 Lines • Show All 106 Lines • Show Last 20 Lines | |||||
Assume this is a mistake.