summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/shader_hierarchy.txt
blob: 8ef04d8e1fff9ca0f20e9e78624743d52dd03025 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
Class 3 is highest quality / lowest  performance
Class 2 is medium  quality / medium  performance
Class 1 is lowest  quality / highest performance

Shaders WILL fall back to "lower" classes for functionality.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
avatar/avatarV.glsl - gAvatarProgram, gAvatarWaterProgram
	main() - avatar/avatarV.glsl
		getSkinnedTransform() - avatarSkinV.glsl
		calcAtmospherics() - windlight/atmosphericsV.glsl
		calcLighting() - lighting/lightV.glsl
			sumLights() - lighting/sumLightsV.glsl
				calcDirectionalLight() - lighting/lightFuncV.glsl
				calcPointLight() - lighting/lightFuncV.glsl
				atmosAmbient() - windlight/atmosphericsHelpersV.glsl
				atmosAffectDirectionalLight() - windlight/atmosphericsHelpersV.glsl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
avatar/avatarF.glsl - gAvatarProgram
	main() - avatar/avatarF.glsl
		default_lighting() - lighting/lightF.glsl
			calc_default_lighting() - lighting/lightF.glsl
				atmosLighting() - windlight/atmosphericsF.glsl
				scaleSoftClip() - windlight/gammaF.glsl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
avatar/eyeballV.glsl - gAvatarEyeballProgram
	main() - avatar/eyeballV.glsl
		calcAtmospherics() - windlight/atmosphericsV.glsl
		calcLightingSpecular() - lighting/lightSpecularV.glsl
			sumLightsSpecular() - lighting/sumLightsSpecularV.glsl
				calcDirectionalLightSpecular() - lighting/lightFuncSpecularV.glsl
				calcPointLightSpecular() - lighting/lightFuncSpecularV.glsl
				atmosAmbient() - windlight/atmosphericsHelpersV.glsl
				atmosAffectDirectionalLight() - windlight/atmosphericsHelpersV.glsl
				atmosGetDiffuseSunlightColor() - windlight/atmosphericsHelpersV.glsl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
avatar/eyeballF.glsl - gAvatarEyeballProgram
	main() - avatar/eyeballF.glsl
		default_lighting() - lighting/lightF.glsl
			calc_default_lighting() - lighting/lightF.glsl
				atmosLighting() - windlight/atmosphericsF.glsl
				scaleSoftClip() - windlight/gammaF.glsl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
avatar/pickAvatarV.glsl - gAvatarPickProgram
	main() - avatar/pickAvatarV.glsl
		getSkinnedTransform() - avatarSkinV.glsl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
avatar/pickAvatarF.glsl - gAvatarPickProgram
	main() - avatar/pickAvatarF.glsl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
environment/terrainV.glsl - gTerrainProgram, gTerrainWaterProgram
	texgen_object() - environment/terrainV.glsl
	main() - environment/terrainV.glsl
		texgen_object() - environment/terrainV.glsl
		calcAtmospherics() - windlight/atmosphericsV.glsl
		calcLighting() - lighting/lightV.glsl
			sumLights() - lighting/sumLightsV.glsl
				calcDirectionalLight() - lighting/lightFuncV.glsl
				calcPointLight() - lighting/lightFuncV.glsl
				atmosAmbient() - windlight/atmosphericsHelpersV.glsl
				atmosAffectDirectionalLight() - windlight/atmosphericsHelpersV.glsl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
environment/terrainF.glsl - gTerrainProgram
	main() - environment/terrainF.glsl
		atmosLighting() - windlight/atmosphericsF.glsl
		scaleSoftClip() - windlight/gammaF.glsl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
environment/terrainWaterF.glsl - gTerrainWaterProgram
	main() - environment/terrainWaterF.glsl
		atmosLighting() - windlight/atmosphericsF.glsl
		applyWaterFog() - environment/waterFogF.glsl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
environment/underWaterF.glsl - gUnderWaterProgram
	applyWaterFog() - environment/underWaterF.glsl (NOTE: different than one in waterFogF.glsl)
	main() - environment/underWaterF.glsl
		applyWaterFog() - environment/underWaterF.glsl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
environment/waterV.glsl - gWaterProgram, gUnderWaterProgram
	main() - environment/waterV.glsl
		calcAtmospherics() - windlight/atmosphericsV.glsl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
environment/waterF.glsl - gWaterProgram
	main() - environment/waterF.glsl
		atmosTransport() - windlight/transportF.glsl
		scaleSoftClip() - windlight/gammaF.glsl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
objects/fullbrightV.glsl - gObjectFullbrightProgram, gObjectFullbrightWaterProgram
	main() - objects/fullbrightV.glsl
		calcAtmospherics() - windlight/atmosphericsV.glsl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
objects/fullbrightF.glsl - gObjectFullbrightProgram
	main() - objects/fullbrightF.glsl
		fullbright_lighting() - lighting/lightFullbrightF.glsl
			fullbrightAtmosTransport() - windlight/transportF.glsl
				atmosTransport() - windlight/transportF.glsl
			fullbrightScaleSoftClip() - windlight/gammaF.glsl
				scaleSoftClip() - windlight/gammaF.glsl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
objects/fullbrightShinyV.glsl - gObjectFullbrightShinyProgram
	main() - objects/fullbrightShinyV.glsl
		calcAtmospherics() - windlight/atmosphericsV.glsl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
objects/fullbrightShinyF.glsl - gObjectFullbrightShinyProgram
	main() - objects/fullbrightShinyF.glsl
		fullbright_shiny_lighting() - lighting/lightFullbrightShinyF.glsl
			fullbrightShinyAtmosTransport() - windlight/transportF.glsl
				atmosTransport() - windlight/transportF.glsl
			fullbrightScaleSoftClip() - windlight/gammaF.glsl
				scaleSoftClip() - windlight/gammaF.glsl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
objects/fullbrightWaterF.glsl - gObjectFullbrightWaterProgram
	main() - objects/fullbrightWaterF.glsl
		fullbright_lighting_water() - lighting/lightFullbrightWaterF.glsl
			fullbrightAtmosTransport() - windlight/transportF.glsl
				atmosTransport() - windlight/transportF.glsl
			applyWaterFog() - environment/waterFogF.glsl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
objects/shinyV.glsl - gObjectShinyProgram, gObjectShinyWaterProgram
	main() - objects/shinyV.glsl
		calcAtmospherics() - windlight/atmosphericsV.glsl
		calcLighting() - lighting/lightV.glsl
			calcLighting(vec4) - lighting/lightV.glsl
				sumLights() - lighting/sumLightsV.glsl
					calcDirectionalLight() - lighting/lightFuncV.glsl
					calcPointLight() - lighting/lightFuncV.glsl
					atmosAmbient() - windlight/atmosphericsHelpersV.glsl
					atmosAffectDirectionalLight() - windlight/atmosphericsHelpersV.glsl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
objects/shinyF.glsl - gObjectShinyProgram
	main() - objects/shinyF.glsl
		shiny_lighting() - lighting/lightShinyF.glsl
			atmosLighting() - windlight/atmosphericsF.glsl
			scaleSoftClip() - windlight/gammaF.glsl	
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
objects/shinyWaterF.glsl - gObjectShinyWaterProgram
	main() - objects/shinyWaterF.glsl
		shiny_lighting_water() - lighting/lightShinyWaterF.glsl
			atmosLighting() - windlight/atmosphericsF.glsl
			applyWaterFog() - environment/waterFogF.glsl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
objects/simpleV.glsl - gObjectSimpleProgram, gObjectSimpleWaterProgram
	main() - objects/simpleV.glsl
		calcAtmospherics() - windlight/atmosphericsV.glsl
		calcLighting() - lighting/lightV.glsl
			sumLights() - lighting/sumLightsV.glsl
				calcDirectionalLight() - lighting/lightFuncV.glsl
				calcPointLight() - lighting/lightFuncV.glsl
				atmosAmbient() - windlight/atmosphericsHelpersV.glsl
				atmosAffectDirectionalLight() - windlight/atmosphericsHelpersV.glsl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
objects/simpleF.glsl - gObjectSimpleProgram
	main() - objects/simpleF.glsl
		default_lighting() - lighting/lightF.glsl
			atmosLighting() - windlight/atmosphericsF.glsl
			scaleSoftClip() - windlight/gammaF.glsl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
objects/simpleWaterF.glsl - gObjectSimpleWaterProgram, gAvatarWaterProgram
	main() - objects/simpleWaterF.glsl
		default_lighting_water() - lighting/lightWaterF.glsl
			atmosLighting() - windlight/atmosphericsF.glsl
			applyWaterFog() - environment/waterFogF.glsl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
windlight/skyV.glsl - gWLSkyProgram
	main() - windlight/skyV.glsl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
windlight/skyF.glsl - gWLSkyProgram
	main() - windlight/skyF.glsl
		scaleSoftClip() - windlight/gammaF.glsl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
windlight/cloudsV.glsl - gWLCloudProgram
	main() - windlight/cloudsV.glsl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
windlight/cloudsF.glsl - gWLCloudProgram
	main() - windlight/cloudsF.glsl
		scaleSoftClip() - windlight/gammaF.glsl