Micro-shadows

Brushwork, patches and other issues
Post Reply
MajkiFajki

Micro-shadows

Post by MajkiFajki »

Look:

Image


What's the deal with this micro shadows?

Compilation parameters:

Code: Select all

! "/tmp/gtkradiant-michal/q3map2" -v # -game quake3 -fs_basepath "/home/michal/.q3a/" -meta $ && ! "/tmp/gtkradiant-michal/q3map2" # -game quake3 -fs_basepath "/home/michal/.q3a/" -vis -saveprt $ && ! "/tmp/gtkradiant-michal/q3map2" -v # -game quake3 -fs_basepath "/home/michal/.q3a/" -light -fast -samples 8 -filter -bounce 8 $


SkyShader

Code: Select all

textures/ut4_poland/polsky
{
   qer_editorimage env/ely_mountain/mountain_ft.tga
   q3map_lightmapFilterRadius 0 8   
   q3map_lightsubdivide 768
   q3map_backsplash 0 0

   q3map_sunEXT 255 243 204 500 320 80 3 16
   q3map_skyLight 500 4
   q3map_lightRGB 255 243 204

   q3map_noFog

   surfaceparm sky
   surfaceparm noimpact
   surfaceparm nolightmap
   surfaceparm nomarks
   surfaceparm nodlight

   skyparms env/ely_mountain/mountain - -

   nopicmip
   nomipmaps
}

User avatar
ValkoVer
Posts: 176
Joined: Mon Aug 22, 2011 11:01 am
Location: Poland

Re: Micro-shadows

Post by ValkoVer »

I think its because -filter in light stage. BTW using -samples and -filter at same time is like umm, adding bricks to wall with one hand, and beating this wall with hammer in second hand (ie. -samples make shadows sharp, while -filter blurr them)

MajkiFajki

Re: Micro-shadows

Post by MajkiFajki »

Image

Code: Select all

#!/bin/sh

set -e

if [ "$#" -ne 1 ]; then
  echo "Expected exactly one argument.  Example usage:" 2>&1
  echo "  `basename \"${0}\"` ut4_world.map" 2>&1
  exit 1
fi
MAPNAME="$1"
Q3MAP2="/usr/share/gtkradiant/q3map2"
URTDIR="${HOME}/.q3a"
"${Q3MAP2}" -v -threads 1 -game quake3 -fs_basepath "${URTDIR}" \
  -fs_game q3ut4 -meta -patchmeta "${MAPNAME}"
"${Q3MAP2}" -v -threads 1 -game quake3 -fs_basepath "${URTDIR}" \
  -fs_game q3ut4 -vis -saveprt "${MAPNAME}"
"${Q3MAP2}" -v -threads 1 -game quake3 -fs_basepath "${URTDIR}" \
  -fs_game q3ut4 -light -fast -samples 8 -bounce 99 -patchshadows \
  "${MAPNAME}"

Post Reply