Changeset 3918
- Timestamp:
- Jun 28, 2006, 4:18:42 PM (19 years ago)
- Location:
- data/branches/atmospheric_engine
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
data/branches/atmospheric_engine/shaders/mapped_water.frag
r3912 r3918 11 11 uniform sampler2D depthMap; 12 12 uniform float kShine; 13 uniform float shineStrength; 14 uniform float reflStrength; 15 uniform float kRefraction; 13 16 uniform vec4 waterColor; 14 17 … … 16 19 { 17 20 const float kDistortion = 0.015; 18 const float kRefraction = 0.009;19 21 20 22 vec4 distOffset = texture2D(dudvMap, normCoords.xy) * kDistortion; … … 50 52 vec4 specular = vec4(pow(intensity, kShine)); 51 53 52 gl_FragColor = refractionColor + refl ectionColor + 0.8* specular;54 gl_FragColor = refractionColor + reflStrength * reflectionColor + shineStrength * specular; 53 55 } -
data/branches/atmospheric_engine/worlds/mountainlake.oxw
r3916 r3918 37 37 <watersize>1000,1000</watersize> 38 38 <wateruv>9</wateruv> 39 <waterflow>0.0 2</waterflow>40 <lightpos>50,460,30 </lightpos>39 <waterflow>0.04</waterflow> 40 <lightpos>50,460,300</lightpos> 41 41 <!--<lightpos>50,460,300</lightpos>--> 42 <shininess>40</shininess> 43 <watercolor>0.0, 0.0, 0.2</watercolor> 42 <shinesize>8</shinesize> 43 <shinestrength>0.4</shinestrength> 44 <reflstrength>0</reflstrength> 45 <watercolor>0.1, 0.4, 0.4</watercolor> 44 46 <waterangle>0</waterangle> 47 <refraction>0.009</refraction> 45 48 </MappedWater> 46 49 <SkyBox> 50 <name>Sky</name> 51 <Materialset>pictures/sky/desert</Materialset> 52 <Size>10000</Size> 53 </SkyBox> 47 54 </WorldEntities> 48 55 … … 65 72 </LightManager> 66 73 67 < AtmosphericEngine>74 <!--<AtmosphericEngine> 68 75 <WeatherEffect> 69 76 <FogEffect> … … 85 92 86 93 </WeatherEffect> 87 </AtmosphericEngine> 94 </AtmosphericEngine>--> 88 95 89 96 </WorldDataFile>
Note: See TracChangeset
for help on using the changeset viewer.