# ioQuake latest test shadow-bug in opengl2

**URL:** <https://discourse.ioquake.org/t/ioquake-latest-test-shadow-bug-in-opengl2/636>\
**Category:** ioquake3\
**Created:** [February 8, 2016, 1:01am UTC](https://discourse.ioquake.org/t/ioquake-latest-test-shadow-bug-in-opengl2/636 "2016-02-08T01:01:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bl4derunner](https://avatars.discourse-cdn.com/v4/letter/b/82dd89/32.png) [@Bl4derunner](https://discourse.ioquake.org/u/Bl4derunner)\
**Post date:** [February 8, 2016, 1:01am UTC](https://discourse.ioquake.org/t/ioquake-latest-test-shadow-bug-in-opengl2/636/1 "2016-02-08T01:01:15Z")

</div>

Hi all!

Just found this oddity:  
When switching to opengl2 the weapons that would cast a shadow on the ground in opengl1, now have a huge rotating square under it.

opengl1:  
[sigh - new users only allowed to show 1 image… _see reply below_]  
opengl2:

 ![](https://canada1.discourse-cdn.com/flex030/uploads/ioquake/original/1X/bc0fb74643655b12d18cd4f7fc24072d1823ff09.jpg)

And it doesn’t apply to just weapon-shadows, also using the railgun has a similar effect.  
with rail in opengl2  
[sigh - new users only allowed to show 1 image… _see reply below_]

without rail in opengl2  
[sigh - new users only allowed to show 1 image… _see reply below_]

I’m playing with cg\_shadow 1 or 3 which solves the square-issue (default = 2), but doesn’t give the cool projected shadows.

Is it just me? Did I goof something up?

---

<div class="post-metadata">

**Author:** ![Bl4derunner](https://avatars.discourse-cdn.com/v4/letter/b/82dd89/32.png) [@Bl4derunner](https://discourse.ioquake.org/u/Bl4derunner)\
**Post date:** [February 8, 2016, 1:02am UTC](https://discourse.ioquake.org/t/ioquake-latest-test-shadow-bug-in-opengl2/636/2 "2016-02-08T01:02:27Z")

</div>

opengl1

 ![](https://canada1.discourse-cdn.com/flex030/uploads/ioquake/original/1X/5309b3185fe52e399e102057090c9041ed935b05.jpg)

---

<div class="post-metadata">

**Author:** ![Bl4derunner](https://avatars.discourse-cdn.com/v4/letter/b/82dd89/32.png) [@Bl4derunner](https://discourse.ioquake.org/u/Bl4derunner)\
**Post date:** [February 8, 2016, 1:03am UTC](https://discourse.ioquake.org/t/ioquake-latest-test-shadow-bug-in-opengl2/636/3 "2016-02-08T01:03:30Z")

</div>

with rail in opengl2

 ![](https://canada1.discourse-cdn.com/flex030/uploads/ioquake/original/1X/e0e865e1e4d94ffe65d99f84d787cfb84fd42333.jpg)

---

<div class="post-metadata">

**Author:** ![Bl4derunner](https://avatars.discourse-cdn.com/v4/letter/b/82dd89/32.png) [@Bl4derunner](https://discourse.ioquake.org/u/Bl4derunner)\
**Post date:** [February 8, 2016, 1:04am UTC](https://discourse.ioquake.org/t/ioquake-latest-test-shadow-bug-in-opengl2/636/4 "2016-02-08T01:04:02Z")

</div>

without rail in opengl2

 ![](https://canada1.discourse-cdn.com/flex030/uploads/ioquake/original/1X/157acf4e8ad867e5527fd60d3860ab60db39f2e7.jpg)
